Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15516

Jenkins importer not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 6.1.0
    • 5.7.2, 5.9, 5.8.1, 5.9.1, 5.13.1
    • Jenkins importer

    Description

      Different errors being thrown depending on the Jenkins installation when attempting to import a Jenkins project into Bamboo. The following is thrown in the logs:

      2015-06-16 16:27:34,492 INFO [http-bio-10581-exec-11] [AccessLogFilter] admin GET http://localhost:10581/bamboo581/admin/jenkinsImport/configureJenkinsImport.action 88586kb
      2015-06-16 16:27:34,706 INFO [http-bio-10581-exec-11] [AccessLogFilter] admin GET http://localhost:10581/bamboo581/rest/pref/latest/user/?expand=preferences.preference 77264kb
      2015-06-16 16:27:39,848 INFO [http-bio-10581-exec-1] [AccessLogFilter] admin POST http://localhost:10581/bamboo581/admin/jenkinsImport/uploadJenkinsData.action?filename=jenkins-1.581-2.zip&si
      ze=48401556&atl_token=f9366f883b00d53f704a3487d5080ce404620a84 74505kb
      2015-06-16 16:27:39,862 INFO [http-bio-10581-exec-1] [ActionContext] Detected a call to obsolete XWork1 ActionContext. Set log level to DEBUG on com.opensymphony.xwork.ActionContext to find o
      ut where the call came from
      2015-06-16 16:27:51,351 INFO [http-bio-10581-exec-6] [AccessLogFilter] admin POST http://localhost:10581/bamboo581/admin/jenkinsImport/selectPlansForImport.action 71522kb
      2015-06-16 16:27:51,397 INFO [http-bio-10581-exec-6] [SelectJobsForImport] Reading Jenkins data from /home/sultan/atlassian/bamboo/atlassian-bamboo-5.8.1/HOME/uploadedFiles/7439946857592242133_jenkins-1.581-2.zip
      2015-06-16 16:27:51,905 ERROR [http-bio-10581-exec-6] [SelectJobsForImport] Error while scanning for Jenkins Jobs 
      java.util.MissingResourceException: No resource was found for hudson.model.Messages
              at org.jvnet.localizer.ResourceBundleHolder.get(ResourceBundleHolder.java:104)
              at org.jvnet.localizer.ResourceBundleHolder.get(ResourceBundleHolder.java:102)
              at org.jvnet.localizer.ResourceBundleHolder.get(ResourceBundleHolder.java:102)
              at org.jvnet.localizer.ResourceBundleHolder.format(ResourceBundleHolder.java:139)
              at hudson.model.Messages.Hudson_ViewName(Messages.java:1813)
              at jenkins.model.Jenkins.loadConfiguration(Jenkins.java:587)
              at jenkins.model.Jenkins.setRootDir(Jenkins.java:474)
              at jenkins.model.Jenkins.setRootDir(Jenkins.java:480)
              at com.atlassian.bamboo.jenkins.importer.core.JenkinsDataReader.initializeDataDirectories(JenkinsDataReader.java:207)
              at com.atlassian.bamboo.jenkins.importer.core.JenkinsDataReader.<init>(JenkinsDataReader.java:59)
              at com.atlassian.bamboo.jenkins.importer.action.SelectJobsForImport.getDataReader(SelectJobsForImport.java:156)
              at com.atlassian.bamboo.jenkins.importer.action.SelectJobsForImport.doExecute(SelectJobsForImport.java:125)
              at com.atlassian.bamboo.ww2.BambooActionSupport.execute(BambooActionSupport.java:1179)
              at sun.reflect.GeneratedMethodAccessor461.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
              at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
              at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)
              at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
              at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.validateWorkflow(BambooWorkflowInterceptor.java:54)
              at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.access$000(BambooWorkflowInterceptor.java:16)
              at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:33)
              at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:29)
              at com.atlassian.bamboo.util.BambooProfilingUtils.withUtilTimerStack(BambooProfilingUtils.java:51)
              at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:28)
              at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
              at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
              at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
              at com.atlassian.bamboo.ww2.interceptors.BambooValidationInterceptor.validate(BambooValidationInterceptor.java:50)
      :
      

      Upgrade Jenkins importer to latest Jenkins version.

      Attachments

        Issue Links

          Activity

            People

              mgardias Marcin Gardias
              rsperafico Rafael Sperafico (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: