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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,466,937
Community Members
 
Community Events
176
Community Groups

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!

Hi @Daniel Santos ,

I met the similar issue recently, my Bamboo version is 8.0.4, Jenkins version is 2.319.1

XML file header:

<?xml version='1.1' encoding='UTF-8'?>

And there is no plugin used.

Any suggestions for the fix are highly appreciated~

Thanks a lot!

Brs// Kevin

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events