My project is split between 3 different git repos. In each repo, I have a shared development branch and the global upstream QA branch. If there are changes in any of these 6 places, then i want a single build to launch.
The problem i am having is when changes are discovered in more than one repo/branch, it queues a build for each. Since my build management script checks out and does all the merging necessary before performing the build which encompasses all 3 repos, This results in redundant builds.
Some set up quirks of note:
- I have seperate build and "polling" clones. Jenkins was checking out various things messing up incremental builds. The build management script creates seperate clones in the workspace.
- I do not allow concurrent builds for the job.
- i do not clean the workspace between builds
- the workspace is locked to a single folder.
Also, I've noticed that it keeps polling while the build is running. I think this might be what is queuing up the redundant jobs. According to the bug tracker, this should not be happening as of 1.3.x.
I am using jenkins 2.2 with newest versions of plugins as of this morning.
Any suggestions?
Thanks