Use this task in an agentless job of a release pipeline to pause execution of the pipeline for a fixed delay time.
Can be used in only an agentless job of a release pipeline.
# Delay # Delay further execution of a workflow by a fixed time jobs: - job: RunsOnServer pool: Server steps: - task: Delay@1 inputs: #delayForMinutes: '0'
Delay Time (minutes)
|(Required) Delay the execution of the workflow by specified time in minutes.
0 value means that workflow execution will start without delay
Also see this task on GitHub.
This task is open source on GitHub. Feedback and contributions are welcome.
Do I need an agent?
You need at least one agent to run your build or release.
I'm having problems. How can I troubleshoot them?
I can't select a default agent pool and I can't queue my build or release. How do I fix this?
See Agent pools.
My NuGet push task is failing with the following error: "Error: unable to get local issuer certificate". How can I fix this?
This can be fixed by adding a trusted root certificate. You can either add the
NODE_EXTRA_CA_CERTS=file environment variable to your build agent, or you can add the
NODE.EXTRA.CA.CERTS=file task variable in your pipeline. See Environment variables for more details.