Hi Christian,
I don't believe the UI that's presented in the jobs configuration is there for this purpose. As far as I can see, if you select Throttle this project as part of one or more categories the 2 Maximum Concurrent Builds textboxes are ignored. Those textboxes are only used when the Throttle this project alone radio is selected.
At least, from my limited understanding of the plugin that's how it works.
I've been spending a bit of time on this issue.
The solution I have implemented so far is,
- I added a new checkbox that belongs to the Throttle this project as part of one or more categories radio
- The new checkbox Let this Job be blocked by selected Categories (it's a working title) will block a job if any builds from any of the selected categories are queued or executing
This in effect lets you select 1 or more jobs that will not execute while jobs from it's categories are executing.
What do you think of this solution?
I'd like to get some community feedback before I make a pull request.
Thanks!
P.S:
I was also considering fixing the UI so the "child" options only show up when you select it's parent radio button. But that's part of a different issue.
I would like to see this feature also.
We have,
(i.e. deletes and creates a new one)
The refresh job and the pipeline jobs cannot run at the same time or disaster will ensue.
So some way to throttle the refresh job from executing while the pipeline jobs are running would be very useful.