Delay task

Azure Pipelines

Use this task in a build or release pipeline to pause execution of the pipeline for a fixed delay time.

Demands

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
- task: Delay@1
  inputs:
    #delayForMinutes: '0' 

Arguments

Parameter Comments
Display name Required. The name to display for this task.
Delay Time (minutes) Required. The number of minutes to delay execution.
Control options See Control options

Also see this task on GitHub.

Open source

This task is open source on GitHub. Feedback and contributions are welcome.

Q & A

Do I need an agent?

You need at least one agent to run your build or release. Get an agent for Linux, macOS, or Windows.

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.