Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to switch our Jenkins to server to a better machine. The new Jenkins is installed and configured, but without the jobs. I planned to use Jenkins job import plugin in order to import all the jobs, but I have a small problem. My old jenkins installation requires login in order to see the config.xml, even though the anonymous user has read permission on the jobs. Currently I get HTTP error 403 on the old jenkins, and a NullPointerException in the Job Import plugin.

How can I move all the Jobs? I have about 50 jobs, so setting them one by one is saved as the last resort.

share|improve this question
up vote 1 down vote accepted

You might be better just copying over all the job configs. These will be in $JENKINS_HOME/jobs - copy that whole directory to your new instance or, if you don't want the build history, just copy the job subdirectories and their config.XML files. Then restart Jenkins and you should be OK.

share|improve this answer
Thanks, I did just that. – David Rabinowitz Sep 7 '11 at 8:54

I have solution with job import plugin. i have enabled the admin access for anonymous user and its started working.

make sure you have enabled the admin access to anonymous user, it should work.

share|improve this answer
Too late for me... maybe it can help someone else – David Rabinowitz Apr 30 '12 at 7:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.