Why do you want to prevent this ? Do you have a shared resource for all your builds ? If yes, I think that this plugin will fit your needs https://wiki.jenkins.io/display/JENKINS/Lockable+Resources+Plugin
2017-08-14 12:37 GMT+02:00 Mark Allison <[email protected]>: > I have tried to use > > properties[(disableConcurrentBuilds)] > > but that only prevents concurrent builds within one branch in a > multibranch pipeline project. Is there a way to prevent concurrent builds > across all branches in a project? > > 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/f91f57d6-e39a-4abd-93e0-1a016434cc9f%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/f91f57d6-e39a-4abd-93e0-1a016434cc9f%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/CAPO77c3%2BVGPHQZ1WTHenN7J%2B0VX_fmXENwBMg%3DCr4tTN6T8-Tg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
