Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can anyone suggest a solution for a job import error when using the Jenkins Importer? Edited

Bamboo is installed on the same rhel server as Jenkins.  I try to use the Jenkins Importer and feed it my Jenkins home directory.  I get this error...

No importable Job configurations found in the specified location. See Import log for details.

The import log contains this...
Job name: FileMove
SEVERITY: FATAL
Exception while reading data from /var/lib/jenkins/jobs/FileMove: java.io.IOException: Unable to read /var/lib/jenkins/jobs/FileMove/config.xml
--------------------------------------------------------------------------------------
Job name: Deploy
SEVERITY: FATAL
Exception while reading data from /var/lib/jenkins/jobs/Deploy: java.io.IOException: Unable to read /var/lib/jenkins/jobs/Deploy/config.xml
--------------------------------------------------------------------------------------
Job name: Refresh
SEVERITY: FATAL
Exception while reading data from /var/lib/jenkins/jobs/Refresh: java.io.IOException: Unable to read /var/lib/jenkins/jobs/Refresh/config.xml
--------------------------------------------------------------------------------------
Job name: Test
SEVERITY: FATAL
Exception while reading data from /var/lib/jenkins/jobs/Test: java.io.IOException: Unable to read /var/lib/jenkins/jobs/Test/config.xml
--------------------------------------------------------------------------------------

All of the .xml files exist and are world readable on the file system so I don't know why it would find the files but not be able to read them.  However, I am using Jenkins folders and I think that these config.xml files are for the folders, and not the jobs that are in the folders.  The actual jobs would be further down the path similar to this...
/var/lib/jenkins/jobs/Refresh/jobs/RefreshPipeline
Those jobs are not getting found or listed to be imported by the Jenkins Importer.
Is the Jenkins Importer unable to handle folders in Jenkins or is there something else going on that I don't understand?
Is there a way for me to get this working and import my Jenkins jobs?

1 answer

0 votes

Hello @Jim Schwarz

Due to the nature of this problem, we will need to request from you instance data and therefore it will require a different support channel to handle it privately.

I've opened a support ticket for you to allow us investigating this problem. As soon as you get it, please share with us the following:

  • The version of Bamboo and Jenkins used
  • The top headers of the config.xml files generated by Jenkins. They would be something similar to:
    <?xml version="1.0" encoding="UTF-8"?>

Also if you can share the data you are trying to import it would be also very useful to simplify our investigation.

Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

653 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you