Pre Windows to Linux migration

32 views
Skip to first unread message

Cornelius Ele

unread,
Nov 21, 2018, 11:15:38 AM11/21/18
to Jenkins Developers
Hello,

I am planning to migrate the Jenkins instance on my Windows 7 remote machine to a Linux server. From the sources online, I see that all I need to do is copy all the contents in the old instance's JENKINS_HOME directory to the new instance's JENKINS_HOME directory. 
The Jenkin services in the Windows machine can be brought down before copying the contents as the jobs are not regularly running. 

The question is, if I bring down the services, copy the contents, start the Jenkins instance on the Linux server, are there a series of steps I should take before running any of the jobs/builds to make sure they do not fail? 

Thanks.

Mark Waite

unread,
Nov 21, 2018, 11:21:26 AM11/21/18
to jenkin...@googlegroups.com
This is a question that is best answered on the Jenkins users list, rather than on the developer list.  Please ask future questions like this on the user list.

There isn't a series of steps that will prevent those jobs from failing.  If the jobs were running on the master previously, then they will likely need to change.  Jobs run on a Windows master are frequently invoked with Windows batch commands (Freestyle and Pipeline).  Jobs run on a Linux master are most frequently invoked with a Unix shell command.  Windows batch is not available on Linux.

If all your jobs use a build tool (maven, gradle, ant, etc.) and that build program is available on the Linux machine like it is on the Windows machine, that increases your chance of success.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/699b80f1-da81-447d-9dd0-d4dc048dddbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite
Reply all
Reply to author
Forward
0 new messages