Add option to filter build with matching when counting current running jobs#12
Add option to filter build with matching when counting current running jobs#12nmorey wants to merge 1 commit into
Conversation
…g jobs Note: Job in the same category but with no parameters are not counted either Signed-off-by: Nicolas Morey-Chaisemartin <nmorey@kalray.eu>
|
plugins » throttle-concurrent-builds-plugin #19 FAILURE |
|
This way won't work in general, because everybody has his own categorization approach. I suppose we need to add a |
|
I guess it's very specific to what we need. |
|
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
There was a problem hiding this comment.
Changes in pom.xml should be removed
Note: Job in the same category but with no parameters are not counted either
Signed-off-by: Nicolas Morey-Chaisemartin nmorey@kalray.eu
In our current CI at Kalray, we often have very long integration queues (build are very long and we have 30 people committing a lot).
To accelerate that, we want to run several integration (same project) in parallel. But it is only safe if these run do not target the same integration branch.
The branch being one of the parameters, I added a setting to the throttle plugin so we don't count the overll number of task but only the task whom parameter (specified in the throttle config) match.
This doesn't apply directly on 1.8.1 as I've been told it's buggy and is not written to be applied straight away.
If the feature seems interesting to other, it can be probably cleaned up and contributed. If not, I'm open to feedback on better ways to do this.