Forum Discussion

Martines_01's avatar
Martines_01
Copper Contributor
Dec 05, 2023

Azure DevOps - only one pipeline at the time

Hello everyone,

We want to run at our pipeline only one at the time. We are using exclusive lock and pipeline that is build from 4 different stages where only one has exclusive lock. After deployment we want to run next stage which is the last one including tests after deployment. After the tests will finish we want to run next pipeline. The issue is where we have in queue few jobs and I tried to add on deployment and tests exclusive lock the previous job will end deployment and next in queue which is waiting in lock for deployment should be done after tests that are also with exclusive lock but somehow azure is picking next job deployment and then is doing previous tests so it is getting duoplicated.

So, Is there a way to only run one pipeline at the time and every other in queue will wait till previous one will finish all the stages?

No RepliesBe the first to reply

Resources