1

Our project uses maven to build, Subversion as code repository, and Jenkins for continuous integration. When a new branch is created (typically during a release), we have to create a new job in Jenkins by hand.

Is it possible to tell Jenkins to automatically create job for newly created branches (and not legacy ones) ?

4

1 回答 1

3

Yes, it is doable. You would have to create a SVN hook, and then using Jenkins CLI (you could use groovy) or Jenkins REST API you could have to create the job for the project.

Here's an example using Sinatra + GitHub Another using Groovy + GitHub

于 2012-10-20T20:47:08.093 回答