I am currently setting up Jenkins to work with SVN repository. Currently it works fine for the trunk. Now I want to set up Jenkins to take care of newly created branches. I don't want to create a new project manually for every new branch in SVN.
Also check my extend answer if you are not very familiar with jenkins.
It provides a step by step solution with screenshots.
The subversion plugin is installed by default in recent versions(as for Sep 2015).
Then you should configure your project as following:
check following screenshots:
The Subversion plugin should include a drop-down build parameter option. You can include your base repository and then select either the branches, tags, or trunk.
Check this out: How to configure a single Jenkins job to make the release process from trunk or branches?
And more info here: https://issues.jenkins-ci.org/browse/JENKINS-10678
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With