Reputation: 10419
Is it possible to create a bunch of Jenkins projects and then export these projects to another Jenkins instance on another machine?
Upvotes: 1
Views: 5624
Reputation: 21130
You can use the Job Import plugin to avoid using the REST API directly.
Upvotes: 2
Reputation: 4164
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).
Upvotes: 2