Is it possible to create a bunch of Jenkins projects and then export these projects to another Jenkins instance on another machine?
Asked
Active
Viewed 4,568 times
0
-
1check http://stackoverflow.com/questions/8424228/export-import-jobs-in-jenkins – Larry Cai Aug 11 '13 at 13:58
2 Answers
2
Yes.
Jenkins has a pretty nice REST/XML API, you can easily get a job configuration and inject it in another Jenkins.
Look at the 'REST API' link at the bottom of a job page (you might need to enable the plugin for that to show).

ptyx
- 4,074
- 1
- 19
- 21
2
You can use the Job Import plugin to avoid using the REST API directly.

gareth_bowles
- 20,760
- 5
- 52
- 82