-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
This is really a "locks and latches" kind of request, but since Jenkins is positioning this plugin to replace that plugin...
My use case is not exactly throttling the number of builds, but just that lots of teams have jobs for the trunk plus a few branches, and those 2 or 3 jobs cannot run concurrently due to (typically) database contention issues.
I want to use this plugin to address this use case, but have 2 requirements that block me from using it
- Do not allow all Jenkins users to "Manage Jenkins" (we have hundreds of users)
- Whenever possible, reduce the amount of time/communication/coordination it takes for admins to "Manage Jenkins"
So what I really want is for the owner of those jobs to be able to define their own category without having to call me to set it up for them. And they probably don't care about the "Maximum ..." settings, they just want any job that uses that category to not run at the same time as other jobs with that category. It is okay if they have to just type the category into a text field. It shouldn't be a drop-down or checkbox, because that would be confusing anyways. If it needed to be multiple categories, it could be comma-separated.
I like the option of globally defined categories as a starting point, however I too have the need to define custom categories. I have found that you can achieve this goal by editing the XML manually with the category that you job requires. The downside of this is that editing the job and saving it thru the GUI will overwrite these changes.