0

Is it possible to create a bunch of Jenkins projects and then export these projects to another Jenkins instance on another machine?

More Than Five
  • 9,959
  • 21
  • 77
  • 127

2 Answers2

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