Skip to content

Latest commit

 

History

History
129 lines (93 loc) · 3.6 KB

File metadata and controls

129 lines (93 loc) · 3.6 KB
title description ms.date monikerRange
Delay@1 - Delay v1 task
Delay further execution of a workflow by a fixed time.
07/02/2024
<=azure-pipelines

Delay@1 - Delay v1 task

:::moniker range=">=azure-pipelines-2019.1"

Delays further execution of a workflow by a fixed time.

:::moniker-end

:::moniker range="=azure-pipelines-2019"

Delays further execution of the workflow by a fixed time.

:::moniker-end

Syntax

:::moniker range=">=azure-pipelines-2019.1"

# Delay v1
# Delay further execution of a workflow by a fixed time.
- task: Delay@1
  inputs:
    delayForMinutes: '0' # string. Required. Delay Time (minutes). Default: 0.

:::moniker-end

:::moniker range="=azure-pipelines-2019"

# Delay v1
# Delay further execution of the workflow by a fixed time.
- task: Delay@1
  inputs:
    delayForMinutes: '0' # string. Required. Delay Time (minutes). Default: 0.

:::moniker-end

Inputs

:::moniker range="<=azure-pipelines"

delayForMinutes - Delay Time (minutes)
string. Required. Default value: 0.

Delays the execution of the workflow by specified time in minutes. A 0 value means that workflow execution will start without delay. The maximum value is 86400 (60 days).


:::moniker-end

Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

:::moniker range="<=azure-pipelines"

None.

:::moniker-end

Remarks

Use this task in an agentless job of a release pipeline to pause the execution of the pipeline for a fixed delay time.

Note

Can be used in only an agentless job of a release pipeline.

The maximum value for a delay is 60 days (86400 minutes).

Requirements

:::moniker range="<=azure-pipelines"

Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Server
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version All supported agent versions.
Task category Utility

:::moniker-end