You could define a single lockable resource and then ensure all your jobs grab it. https://plugins.jenkins.io/lockable-resources/
On Tuesday, 20 April 2021 at 15:16:02 UTC+1 priy...@gmail.com wrote: > Hi All, > > I have two branches A and B. 2 builds from 2 branches are running at the > same time, 1 will wait for the other to complete first. I used > disableConcurrentBuilds(), > it didnt work for my scenario. Please share your thoughts. > > 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3cb39dcf-f5a8-48fe-8809-92da35f2d025n%40googlegroups.com.