Delay task

Azure Pipelines

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.

YAML snippet

# Delay
# Delay further execution of a workflow by a fixed time
- job: RunsOnServer
  pool: Server
  - task: Delay@1
      #delayForMinutes: '0' 


Arguments Description
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
Default value: 0

Also see this task on GitHub.

Open source

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?

See Troubleshoot Build and Release.

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.