Jenkins Migration from OS?

31 views
Skip to first unread message

Kavitha Bhaskaran

unread,
May 27, 2015, 12:01:51 AM5/27/15
to jenkins...@googlegroups.com
Hello There:

Not sure if this is possible but is it possible to migrate Jenkins from one OS to another. Lets say I have Jenkins right now on RHEL and I would like to move it to CentOS. Is there a way to do it?


Les Mikesell

unread,
May 27, 2015, 1:02:40 AM5/27/15
to jenkinsci-users
There's next-to-no difference between RHEL and CentOS. Pretty much
any backup/restore strategy should work - or just rsync'ing the
jenkins home directory to the new system.

--
Les Mikesell
lesmi...@gmail.com

Kavitha Bhaskaran

unread,
May 27, 2015, 2:13:51 AM5/27/15
to jenkins...@googlegroups.com
Ok. 2 more questions

1. How about between Scientific Linux and RHEL?
2. So you are saying, I can strip just the Jenkins setting from say Scientific Linux and add it to RHEL?

Stephen Connolly

unread,
May 27, 2015, 3:28:08 AM5/27/15
to jenkins...@googlegroups.com
I've known people to move between Linux and windows just by moving their JENKINS_HOME (though in that case there is some symlink fun and you'd probably want to do a dry-run)
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/633f53e7-55cf-4f32-91f7-3d17f9382db9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Sent from my phone

Les Mikesell

unread,
May 27, 2015, 8:44:11 AM5/27/15
to jenkinsci-users
On Wed, May 27, 2015 at 1:13 AM, Kavitha Bhaskaran
<kukki.k...@gmail.com> wrote:
> Ok. 2 more questions
>
> 1. How about between Scientific Linux and RHEL?

Likewise, almost identical. CentOS and Scientific Linux are rebuilds
from the RHEL sources. But since jenkins is java you should be able
to move across even more different platforms if you wanted.

> 2. So you are saying, I can strip just the Jenkins setting from say
> Scientific Linux and add it to RHEL?

Yes, I'd probably do a new install with the rpm package, then change
any settings you need in /etc/sysconfig/jenkins (probably unique to
the rpm packaged version) and copy over the JENKINS_HOME contents.

--
Les Mikesell
lesmi...@gmail.com
Reply all
Reply to author
Forward
0 new messages