Uredi

Deli z drugimi prek


Delay@1 - Delay v1 task

Delays further execution of a workflow by a fixed time.

Delays further execution of the workflow by a fixed time.

Syntax

# 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.
# 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.

Inputs

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).


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

None.

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

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