I want a Jenkins feature build, which will build whenever a new branch is added to the repo in github, or updated.
That way, as I develop on branches, Jenkins will pick up the changes and build them for me.
First I made a copy of my already existing master build job.
To build a feature branch, I just leave the branch line blank in the configuration of the jenkins job. Now it builds any newly modified branch. Nice!
One problem I had was that I accidently had a space in the name of the Jenkins job. Since this is used as a directory name, a space causes problems. I took the space out and now it works fine.
No comments:
Post a Comment