arhe10
arhe10

Reputation: 793

Delay a job in azure pipeline YAML

How to delay a job in azure devops pipelines, I have multiple that will be running simultaneously, the problem is in the checkout phase I get the error saying files are used by another process.

I found "delayForMinutes" and running a powershell script but they only work for tasks not for jobs.

My goal is to have the checkout phase for the job to be delayed not the tasks in it.

Upvotes: 1

Views: 2870

Answers (1)

Jayendran
Jayendran

Reputation: 10930

You can do something like after the checkout job add a agentless Job with in that you can include a delay task. Then you can continue the other task in a separate agent job

enter image description here

Upvotes: 2

Related Questions