how to set an azure pipeline to run ONLY 1 build at a time

0 votes

For the life of MS, I couldn't find a way to allow a pipeline to run a single run at a time. Regular pipelines not releases or anything crazy.

No CI, simply to allow the pipeline to run 1 run concurrently. if another run is started it will wait for the currently running one to finish. Something so simple. a simple queue of 1 parallel runs.

Exclusive locks aren't an option since they are at the stage level, so if my pipeline has many stages then each stage waits and they dont run together, i want the queue of runs to be at the pipeline level.

Changing to using a new Scale set of agents with just 1 agent isnt an option. Using demands also too complex. I just want a setting to set a pipeline max parrallel runs to 1, too simple, new runs will queue up and run in sequence.

any ideas?

Dec 30, 2022 in Other DevOps Questions by Damonlang
• 1,230 points

edited 2 hours ago 4 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP