Discussion:
Recommended Plug in for migrating jobs between 2 jenkins instances
Nicolas Grossi
2018-11-08 14:14:44 UTC
Permalink
Hi team:
Is there any plug in that can be used to expport/import jobs
form one jenkins instances to another ?

Thanks in advance!
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEhTJeiLvvMc0Auwbcs8%2BN4KchE6LaA%3D4WHjzVdxG0zhag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Beushausen, Christian
2018-11-09 14:41:02 UTC
Permalink
Hi Nicolas,

We are sometimes using this plugin:
https://plugins.jenkins.io/job-import-plugin

Or, you could (from what I have heard):

* Copy job folders on file system level
* Download job config as xml via Jenkins CLI and upload it on the new instance.

Mit freundlichen Gruessen/Best regards,

Christian Beushausen
I S&T PD SW SWF
Interior Systems & Technology

Besucheradresse / Visitor address:
Continental Automotive GmbH
Philipsstrasse 1, 35576 Wetzlar, Germany

Rechnungsadresse / Invoice address:
Continental Automotive GmbH
Philipsstrasse 1, 35576 Wetzlar, Germany

Phone: +49 6441 370-9031
Mobile: +49 151 746 602 27
Fax: +49 6441 37013-9031
E-Mail: ***@continental-corporation.com<mailto:***@continental-corporation.com>

<$$014!>

From: jenkinsci-***@googlegroups.com <jenkinsci-***@googlegroups.com> On Behalf Of Nicolas Grossi
Sent: Donnerstag, 8. November 2018 15:15
To: jenkinsci-***@googlegroups.com
Subject: Fwd: Recommended Plug in for migrating jobs between 2 jenkins instances

Hi team:
Is there any plug in that can be used to expport/import jobs form one jenkins instances to another ?

Thanks in advance!
--
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-users+***@googlegroups.com<mailto:jenkinsci-users+***@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEhTJeiLvvMc0Auwbcs8%2BN4KchE6LaA%3D4WHjzVdxG0zhag%40mail.gmail.com<https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEhTJeiLvvMc0Auwbcs8%2BN4KchE6LaA%3D4WHjzVdxG0zhag%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

http://www.continental-corporation.com
________________________________________________________________________

Continental Automotive GmbH, Vahrenwalder Str. 9, D-30165 Hannover
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Helmut Matschi
Geschaeftsfuehrer/Managing Director: Georg Sistermanns, Harald Stuhlmann
Sitz der Gesellschaft/Registered Office: Hannover
Registergericht/Registered Court: Amtsgericht Hannover, HRB 59424
USt.-ID-Nr./VAT-ID-No. DE814950663

______________________________________________________________________

Proprietary and confidential. Distribution only by express authority of Continental AG or its subsidiaries.
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/VI1PR0302MB3421FD721F6DEDC7232776F5CFC60%40VI1PR0302MB3421.eurprd03.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
Nicolas Grossi
2018-11-09 15:06:56 UTC
Permalink
Christian:
I'm trying the importer.... One instance is cloudbees and
i cannot access the file system :( so

- Copy job folders on file system level is not an option i guess

The actual scenario is the following:

# instance 1 (cloudbeees) with around 35 jobs
# instance 2 (ubuntu on AWS) with around 35 additional jobs

# Final instance 3 on prem (internal instance) with the total job number
(I1 + I2)


Any additional advice will be appreciated
Cheers
Nico



On Fri, Nov 9, 2018 at 11:41 AM Beushausen, Christian <
Post by Beushausen, Christian
Hi Nicolas,
https://plugins.jenkins.io/job-import-plugin
- Copy job folders on file system level
- Download job config as xml via Jenkins CLI and upload it on the new
instance.
Mit freundlichen Gruessen/Best regards,
*Christian Beushausen*
I S&T PD SW SWF
Interior Systems & Technology
*Besucheradresse / Visitor address:*
Continental Automotive GmbH
Philipsstrasse 1, 35576 Wetzlar, Germany
*Rechnungsadresse / Invoice address:*
Continental Automotive GmbH
Philipsstrasse 1, 35576 Wetzlar, Germany
*Phone:* +49 6441 370-9031
*Mobile:* +49 151 746 602 27
*Fax:* +49 6441 37013-9031
<$$014!>
*On Behalf Of *Nicolas Grossi
*Sent:* Donnerstag, 8. November 2018 15:15
*Subject:* Fwd: Recommended Plug in for migrating jobs between 2 jenkins
instances
Is there any plug in that can be used to expport/import jobs
form one jenkins instances to another ?
Thanks in advance!
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEhTJeiLvvMc0Auwbcs8%2BN4KchE6LaA%3D4WHjzVdxG0zhag%40mail.gmail.com
<https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEhTJeiLvvMc0Auwbcs8%2BN4KchE6LaA%3D4WHjzVdxG0zhag%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
http://www.continental-corporation.com
________________________________________________________________________
Continental Automotive GmbH, Vahrenwalder Str. 9, D-30165 Hannover
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Helmut Matschi
Geschaeftsfuehrer/Managing Director: Georg Sistermanns, Harald Stuhlmann
Sitz der Gesellschaft/Registered Office: Hannover
Registergericht/Registered Court: Amtsgericht Hannover, HRB 59424
USt.-ID-Nr./VAT-ID-No. DE814950663
______________________________________________________________________
Proprietary and confidential. Distribution only by express authority of
Continental AG or its subsidiaries.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/VI1PR0302MB3421FD721F6DEDC7232776F5CFC60%40VI1PR0302MB3421.eurprd03.prod.outlook.com
<https://groups.google.com/d/msgid/jenkinsci-users/VI1PR0302MB3421FD721F6DEDC7232776F5CFC60%40VI1PR0302MB3421.eurprd03.prod.outlook.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEheRMSjXgTAJTL4Joi4M3VeHMQYAK%3DU6HVP%3DVFAMXCx0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Arnaud Héritier
2018-11-09 15:28:47 UTC
Permalink
Hi

<cloudbees support hat on>
We created a job to get a copy of your data from ***@cloud before its
shutdown.

See:
https://support.cloudbees.com/hc/en-us/articles/360017691571-How-to-backup-my-DEV-cloud-instance-to-prepare-for-the-service-end-of-life

</cloudbees support hat on>

The importer should work otherwise.
Emilio could perhaps have some feedback ?
Post by Nicolas Grossi
I'm trying the importer.... One instance is cloudbees and
i cannot access the file system :( so
- Copy job folders on file system level is not an option i guess
# instance 1 (cloudbeees) with around 35 jobs
# instance 2 (ubuntu on AWS) with around 35 additional jobs
# Final instance 3 on prem (internal instance) with the total job number
(I1 + I2)
Any additional advice will be appreciated
Cheers
Nico
On Fri, Nov 9, 2018 at 11:41 AM Beushausen, Christian <
Post by Beushausen, Christian
Hi Nicolas,
https://plugins.jenkins.io/job-import-plugin
- Copy job folders on file system level
- Download job config as xml via Jenkins CLI and upload it on the new
instance.
Mit freundlichen Gruessen/Best regards,
*Christian Beushausen*
I S&T PD SW SWF
Interior Systems & Technology
*Besucheradresse / Visitor address:*
Continental Automotive GmbH
Philipsstrasse 1, 35576 Wetzlar, Germany
<https://maps.google.com/?q=Philipsstrasse+1,+35576+Wetzlar,+Germany&entry=gmail&source=g>
*Rechnungsadresse / Invoice address:*
Continental Automotive GmbH
Philipsstrasse 1, 35576 Wetzlar, Germany
<https://maps.google.com/?q=Philipsstrasse+1,+35576+Wetzlar,+Germany&entry=gmail&source=g>
*Phone:* +49 6441 370-9031
*Mobile:* +49 151 746 602 27
*Fax:* +49 6441 37013-9031
<$$014!>
*Sent:* Donnerstag, 8. November 2018 15:15
*Subject:* Fwd: Recommended Plug in for migrating jobs between 2 jenkins
instances
Is there any plug in that can be used to expport/import
jobs form one jenkins instances to another ?
Thanks in advance!
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEhTJeiLvvMc0Auwbcs8%2BN4KchE6LaA%3D4WHjzVdxG0zhag%40mail.gmail.com
<https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEhTJeiLvvMc0Auwbcs8%2BN4KchE6LaA%3D4WHjzVdxG0zhag%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
http://www.continental-corporation.com
________________________________________________________________________
Continental Automotive GmbH, Vahrenwalder Str. 9, D-30165 Hannover
<https://maps.google.com/?q=Vahrenwalder+Str.+9,+D-30165+Hannover&entry=gmail&source=g>
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Helmut Matschi
Geschaeftsfuehrer/Managing Director: Georg Sistermanns, Harald Stuhlmann
Sitz der Gesellschaft/Registered Office: Hannover
Registergericht/Registered Court: Amtsgericht Hannover, HRB 59424
USt.-ID-Nr./VAT-ID-No. DE814950663
______________________________________________________________________
Proprietary and confidential. Distribution only by express authority of
Continental AG or its subsidiaries.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/VI1PR0302MB3421FD721F6DEDC7232776F5CFC60%40VI1PR0302MB3421.eurprd03.prod.outlook.com
<https://groups.google.com/d/msgid/jenkinsci-users/VI1PR0302MB3421FD721F6DEDC7232776F5CFC60%40VI1PR0302MB3421.eurprd03.prod.outlook.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEheRMSjXgTAJTL4Joi4M3VeHMQYAK%3DU6HVP%3DVFAMXCx0Q%40mail.gmail.com
<https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEheRMSjXgTAJTL4Joi4M3VeHMQYAK%3DU6HVP%3DVFAMXCx0Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
-----
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFNCU-8--FHG54X_V6_756dSViOX1o_Jvs7R3ht%2BYDscrWvr0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Robert Longson
2018-11-09 15:11:13 UTC
Permalink
Post by Nicolas Grossi
Is there any plug in that can be used to expport/import jobs
form one jenkins instances to another ?
Thanks in advance!
If you use the jobdsl plugin you can define your jobs in groovy script and
store that script in a source control repository. Then to run the jobs
somewhere else it's just a matter of installing the jobdsl plugin there and
pointing it to the same repository.
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e153bdc6-5d17-4047-aad0-823e0dbfc738%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
RAJENDRA PRASAD
2018-11-09 15:32:23 UTC
Permalink
Instead of plugin I suggest to use butler script to import and export
Jenkins jobs from one machine to another machine.

Refer this link:
http://www.blog.labouardy.com/butler-cli-import-export-jenkins-plugins-jobs/

Note: you need to enable remoting on Jenkins settings at admin level for
this


Thanks
Rajendra
Post by Nicolas Grossi
Is there any plug in that can be used to expport/import jobs
form one jenkins instances to another ?
Thanks in advance!
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEhTJeiLvvMc0Auwbcs8%2BN4KchE6LaA%3D4WHjzVdxG0zhag%40mail.gmail.com
<https://groups.google.com/d/msgid/jenkinsci-users/CAATVPEhTJeiLvvMc0Auwbcs8%2BN4KchE6LaA%3D4WHjzVdxG0zhag%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMrg02TQ1tbFSzox72AqZcoHiyQHyFGhN7ZW-x-XRPjbbwbauw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...