I have a Job that is a) Parameterized and b) allowed to [Execute concurrent builds if necessary].

I now have a second job that must not run when the first job is running with a specific set of parameters.

As I can't cover this with the [Throttle Concurrent Builds Plugin] (nor any other plugin I found), I have to script this somehow.

On the Job API page (http://my-jenkins/job/Name/api/xml) I can readily access all builds of a job, but how do I determine only the builds that are currently running? (After all, there may be multiple of those + some in the queue.)

Do I really have to query each and every existing build to check all running build of a job?

(If there is a Groovy Script alternative I'd try that one.)

cheers,
Martin

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" 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/groups/opt_out.


Reply via email to