Bamboo doesn't import Jenkins data - No secret key file found


アトラシアン コミュニティをご利用ください。



Bamboo shows this error message when pointing to a Jenkins Home directory and trying to import Jenkins data into Bamboo:

2013-08-09 10:28:31,967 WARN [qtp629450710-116] [Jenkins] No secret key file found. Will be unable to decode encrypted data
2013-08-09 10:28:31,973 ERROR [qtp629450710-116] [SelectJobsForImport] Error while scanning for Jenkins Jobs Job configuration directory not found in /jenkins/
    at com.atlassian.bamboo.jenkins.importer.core.JenkinsDataReader.initializeDataDirectories(
    at com.atlassian.bamboo.jenkins.importer.core.JenkinsDataReader.<init>(
    at com.atlassian.bamboo.jenkins.importer.action.SelectJobsForImport.getDataReader(
    at com.atlassian.bamboo.jenkins.importer.action.SelectJobsForImport.doExecute(
    at com.atlassian.bamboo.ww2.BambooActionSupport.execute(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(


Bamboo expects to find the secret.key file in the Jenkins Home directory, but the mentioned file is missing.

Another possible root cause could be that you are trying to use the zip archive method but because you have nested folders before the secret key, Bamboo throws the above exception. For example >> jenkins >> secret_key+ other_file will fail. It should be >> secret_key+other_file works


If you are using an old Jenkins version, copy the secret.key file into the Jenkins Home directory and try the import again.


最終更新日 2013 年 11 月 21 日


Powered by Confluence and Scroll Viewport.