There are several plugins that can do this, three I think. Check this thread.
http://jenkins.361315.n4.nabble.com/Global-lock-for-multi-configuration-build-td4657825.html locks and latches might be deprecated exclusion might work throttle might work Will ________________________________ From: [email protected] [[email protected]] on behalf of David Gang [[email protected]] Sent: Tuesday, March 05, 2013 10:42 AM To: [email protected] Subject: jenkins prevent race conditions between 2 jobs Hi all, I have 2 jobs which i want to run on a certain slave and i want to prevent them from running together. How can i achieve this? Can i somehow label them and tell the scheduler that just one of them can run on a certain slave at a certain time? Thanks, David -- 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. -- 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.
