Yup, that's exactly the use case Throttle Concurrent Builds plugin was written for. =)
On Dec 8, 2016 07:59, "Andrew Gray" <[email protected]> wrote: > Hey all, > > Is there a known way to be able to block a job from running on some node > ONLY IF there are other specified jobs running on that same node? > > For example, pretend you have 2 different build jobs ( Master build and CI > build ), and two nodes with two executors Jenkins can assign jobs to. Say > Master build job is running on Node 1, and a CI build job is triggered. I > want to be able to block the CI build job from running on Node 1, but allow > it to run concurrently on Node 2. So now I have Master on Node 1 and CI on > Node 2. Both nodes still have an available executor for other unrelated > build jobs, but if another Master or CI build is triggered, they both will > not be allowed to run on either Node. > > Any help is appreciated. > > Thanks! > > > -- > 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]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/8ac344e7-1038-476d-8021-b7a1e90fae88%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/8ac344e7-1038-476d-8021-b7a1e90fae88%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPbPdOYgsb0KiF4bjUAHfkE_jF0hTuGabqOSzTsR2tbc3Jn_KA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
