Discussion:
Pre Windows to Linux migration
Cornelius Ele
2018-11-21 16:14:32 UTC
Permalink
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.
--
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-dev+***@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.
Mark Waite
2018-11-21 16:21:09 UTC
Permalink
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
Post by Cornelius Ele
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.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/699b80f1-da81-447d-9dd0-d4dc048dddbd%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-dev/699b80f1-da81-447d-9dd0-d4dc048dddbd%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Thanks!
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-dev+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtENcbCmoT6vbOFoGou9Rg8OhnqfgHd_XO4JPjXSMmVTSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...