1 build run at a time

18 views
Skip to first unread message

priya L

unread,
Apr 20, 2021, 10:16:02 AM4/20/21
to Jenkins Users
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

James Nord

unread,
Apr 29, 2021, 4:25:30 PM4/29/21
to Jenkins Users
You could define a single lockable resource and then ensure all your jobs grab it.
Reply all
Reply to author
Forward
0 new messages