Is it possible to put delay between tasks or conditional loop

Viewed 15767

Is it possible to either loop or delay between running tasks in either build or release pipelines? I deploy containers as part of those pipelines and they take time to spin up and be available for webtests, so I can not run webtest immediately following Release task. What can be a solution to this requirements inside TFS or VSTS?

2 Answers

You can add an Agentless phase and put a Delay-task in it. Then your build will be delayed X minutes. Then you may continue your pipeline with an agent phase. Just make sure to configure Run this phase or set a dependency between the phases. This works in TFS and Azure Devops Server.

enter image description here

Related