Hi, I'm trying to block some job when a pipeline is running. More precisely I'm trying to find a wrapper around certain stages which could prevent other job to run while this stage is running.
My main problem is the following: My workflow plugin launch a maven:release at some point, which create events in the SCM, wich run a standard build job that destroy my integration platform. I don't know if it's clear. I usually use the Exclusion plugin : https://wiki.jenkins-ci.org/display/JENKINS/Exclusion-Plugin To prevent a job running when there is already another one using this resource. I've seen that there are some commits that allow this plugin to be run within a pipeline : https://github.com/jenkinsci/exclusion-plugin/pull/5 But I really don't know how to implement this. Have anybody already set up this kind of thing ? Thank you for your help. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a5c6aac4-8546-4b74-b1c5-912e50a7e8bc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.