Reputation: 23
We are experimenting with the Azure Pipelines checks feature and noticed that the process never ends unless we manually approve all stages. We are not planning to approve all stages (some stages might take weeks to get approved or some will be never approved) because we don't want to promote every single build to production. Is this an expected behavior? Are the agents released during the wait period?
See image below as en example. As you can see, we did not approve the 3rd stage but the timer keeps increasing.
Upvotes: 2
Views: 765
Reputation: 18978
Is this an expected behavior?
The answer for this question is Yes. This is a expected behavior. The Approve will waiting until it be approved/rejected or expired by the the Timeout setting:
Are the agents released during the wait period?
In fact, after the previous stage job finished. The agent has been released. And during the period of waiting for approve, it will not possess this agent. As you can see the pic shown below:
I have 2 stages in release. After stage1 job finished and waiting for stage2's pre-approve, the agent has been released and does not be possessed by the stage2. The agent will be used again until you approve this stage and job begin running. So, for waiting approval, you don't need worry about the agent will be possessed.
Upvotes: 2