Utility: Manual intervention
Pause an active deployment within an environment, typically to perform some manual steps or actions, and then continue the automated deployment tasks.
Can be used in only an agentless phase of a release pipeline.
# Manual Intervention # Pause deployment and wait for intervention - task: ManualIntervention@8 inputs: #instructions: # Optional #emailRecipients: # Optional #onTimeout: 'reject' # Optional. Options: reject, resume
|Display name||Required. The name to display for this task.|
|Instructions||Optional. The instruction text to display to the user when the task is activated.|
|Notify users||Optional. The list of users that will be notified that the task has been activated.|
|On timeout||Required. The action to take (reject or resume) if the task times out with no manual intervention. The default is to reject the deployment.|
|Control options||See Control options|
The Manual Intervention task does not perform deployment actions directly. Instead, it allows you to pause an active deployment within an environment, typically to perform some manual steps or actions, and then continue the automated deployment tasks. 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 can be used to provide related information, or to specify the manual steps the user should execute during the Agentless phase. 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.
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 and displays a message bar containing a link that opens the Manual Intervention dialog containing 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 environment can resume or reject the manual intervention.
For more information about using this task, see Approvals and gates overview.
Also see this task on GitHub.