We are using the Jenkins CI service to trigger builds on Jenkins for commits on feature branches and to build master after merging the feature branches. This works, but I would like to use two different jobs for the build in a feature branch and a build on the master. How is this possible?
The reasons to keep them distinct are:
- If there is already a job for master in queue there is no need to trigger a second one (different for feature branch)
- For master we need much less history of builds
- Perhaps different configuration of build/test/clean