I need to migrate all of my Jenkins projects from one sever hosting
Jenkins to another server that is hosting it's own copy of Jenkins.
Both Jenkins are the exact same version.
Can someone suggest an easy way to do this? Neither servers will need
to communicate after this is done.
My source code is stored in SVN. Can my source code come along for the
ride?
Any help would be great!
If your new jenkins instance can access the old one via network, then
there is a plugin for that: https://wiki.jenkins-ci.org/display/JENKINS/Job+Import+Plugin
else you have to copy $JENKINS_HOME/jobs/each_of_your_jobs/config.xml
from 1 machine to the other to be able to restore your jobs easily
If your code comes from svn, I would recommend to let jenkins go: the
1st time you run the job on the new machine, source code will be
fetched from subversion
regards
didier
* you may also want to copy each job's "nextBuildNumber" document.
* ditto the job's builds dir
* I'd also copy the jenkins/fingerprints dir