regex - Jenkins builds and queue management -
I am trying to improve our queue manager, and I have to:
There are types of triggers that can start a job (in this case regular and upstream). If in the queue, whenever there is a regular build and upstream build, the upward job is always executed, and we cancel the regular build. And if there are many examples with the same trigger (for the same purpose), then we always take the first one, and cancel the rest, we do not want duplicate jobs in the queue.
These are nothing to trigger for the same work, and with the concurrency of other jobs!
How can I get it? Using Groovy, how can I get a list of triggers for jobs and apply the above mentioned logic? Is there a plugin that will solve my problem?
New to Jerovi, and Jenkins, so maybe I'm trying to re-invent the wheel here
This will not do exactly what you want, but see the plugin in combination with the plugin
Comments
Post a Comment