0

I read about archiving JENKINS_HOME in the wiki (https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins)

but didnt exactly tell me how to archive it, was looking for any type of assistance

I found this

How to move Jenkins from one PC to another?

which is great but have some open ended questions and cant comment due to my low rank.

thanks!

Community
  • 1
  • 1
kapperkp
  • 189
  • 1
  • 2
  • 13

1 Answers1

0

You just have to zip your Jenkins home folder and copy it to the new server (the new Jenkins instance must be stopped).

Next, starts the new Jenkins instance and check you can access the new URL.

Once Jenkins is started, go to the Manage Jenkins/Configure system menu and update the Jenkins URL:

enter image description here

It should be enough to move your Jenkins stuff to the new server.

Community
  • 1
  • 1
Bruno Lavit
  • 9,486
  • 2
  • 27
  • 37
  • thanks for that, another question, so i just installed jenkins on server two and obviously the jenkins folder gets populated, what do I do with all that If I am going to use my jenkins directory from server 1 – kapperkp Dec 02 '15 at 12:52
  • When you start the Jenkins application on the server 2 for the first time, Jenkins will populate the jenkins home folder with the default configuration files. Please stop Jenkins on the server 2, do a backup of these files, remove them, and copy the content from the server 1. Next, restart Jenkins on the server 2. – Bruno Lavit Dec 02 '15 at 13:01