Rediger

Del via


ManualIntervention@8 - Manual intervention v8 task

Use this task to pause deployment in a release pipeline and wait for manual intervention.

Use this task to pause deployment in a release pipeline and wait for intervention.

Syntax

# Manual intervention v8
# Pause deployment and wait for manual intervention.
- task: ManualIntervention@8
  inputs:
    #instructions: # string. Instructions. 
    #emailRecipients: # string. Notify users. 
    #onTimeout: 'reject' # 'reject' | 'resume'. On timeout. Default: reject.
# Manual Intervention v8
# Pause deployment and wait for intervention.
- task: ManualIntervention@8
  inputs:
    #instructions: # string. Instructions. 
    #emailRecipients: # string. Notify users. 
    #onTimeout: 'reject' # 'reject' | 'resume'. On timeout. Default: reject.

Inputs

instructions - Instructions
string.

Specifies the instructions that are shown to the user when resuming or rejecting the manual intervention. Based on these instructions, the user will make an informed decision about this manual intervention.


emailRecipients - Notify users
string.

Sends a manual intervention pending email to specific users (or groups). Only users with manage deployment permission can act on a manual intervention.


onTimeout - On timeout
string. Allowed values: reject, resume. Default value: reject.

Automatically rejects or resumes the manual intervention after it is pending for the specified timeout, or 60 days, whichever is earlier.


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 a release pipeline to pause an active deployment within a stage. This is typically executed to perform various manual steps or actions and then the automated deployment tasks are resumed.

Note

This task can only be used in an agentless job and is intended for use in a classic release pipeline. This article refers to classic pipelines. For YAML usage, see Manual Validation task.

Screenshot of configuring a Manual Intervention task.

The Manual Intervention task does not perform deployment actions directly. Instead, it allows you to pause an active deployment within a stage, typically to perform various manual steps or actions, and then the automated deployment tasks are resumed. For example, the user may need to edit the details of the current release before continuing (perhaps by entering the values for custom variables used by the tasks in the release).

The Manual Intervention task configuration includes an Instructions parameter that is used to provide related information or to specify the manual steps the user executes during the agentless job. You can configure the task to send email notifications to users and user groups when it is awaiting intervention and specify the automatic response (reject or resume the deployment) after a configurable timeout occurs.

Note

You can use built-in and custom variables to generate portions of your instructions.

When the Manual Intervention task is activated during a deployment, it sets the deployment state to IN PROGRESS. A message bar is displayed with a link that opens the Manual Intervention dialog, which contains the instructions. After carrying out the manual steps, the administrator or user can choose to resume the deployment or reject it. Users with Manage deployment permission on the stage can resume or reject the manual intervention.

For more information about using this task, see Approvals and gates overview.

Requirements

Requirement Description
Pipeline types 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 Deploy