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,311
  • 20
  • 72
  • 121

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
  • 3,984
  • 1
  • 18
  • 21
2

You can use the Job Import plugin to avoid using the REST API directly.

gareth_bowles
  • 20,301
  • 5
  • 56
  • 81