Seán Dunne commented on New Feature JENKINS-12092

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to