次の方法で共有


ManualIntervention@8 - 手動介入 v8 タスク

このタスクを使用して、リリース パイプラインでのデプロイを一時停止し、手動による介入を待機します。

Note

This task can only be used in an agentless job and is intended for use in a classic release pipeline. この記事では、クラシック パイプラインについて説明します。 YAML の使用方法については、「手動検証タスク 」を参照してください。

Syntax

# This task is supported on classic release pipelines only.
# Use the classic designer to add and configure this task in a classic release pipeline.
# See the following Inputs section for details on the inputs that this task supports.

Inputs

instructions - Instructions
string.

手動による介入を再開または拒否するときにユーザーに表示される命令を指定します。 これらの手順に基づいて、ユーザーは、この手動介入に関する情報に基づいて決定を行います。


emailRecipients - Notify users
string.

手動による介入保留中の電子メールを特定のユーザー (またはグループ) に送信します。 展開の管理アクセス許可を持つユーザーのみが、手動による介入に対処できます。


onTimeout - On timeout
string. 使用できる値: rejectresume。 既定値: reject.

指定したタイムアウト (60 日のいずれか早い方) が保留中になった後、手動による介入を自動的に拒否または再開します。


タスク コントロールのオプション

すべてのタスクには、タスク入力に加えて制御オプションがあります。 詳細については、「コントロール オプションと一般的なタスク プロパティを参照してください。

Output variables

None.

Remarks

ステージ内でアクティブなデプロイを一時停止するには、リリース パイプラインでこのタスクを使用します。 これは通常、さまざまな手動の手順またはアクションを実行するために実行され、自動デプロイ タスクが再開されます。

Note

This task can only be used in an agentless job and is intended for use in a classic release pipeline. この記事では、クラシック パイプラインについて説明します。 YAML の使用方法については、「手動検証タスク 」を参照してください。

手動介入タスクの構成のスクリーンショット。

The Manual Intervention task does not perform deployment actions directly. 代わりに、ステージ内でアクティブなデプロイを一時停止できます。通常は、さまざまな手動の手順またはアクションを実行し、自動デプロイ タスクが再開されます。 たとえば、ユーザーは続行する前に(おそらくリリースのタスクで使用されるカスタム変数の値を入力して)、現在のリリースの詳細を編集する必要があります。

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. タスクが介入を待機しているときにユーザーとユーザー グループに電子メール通知を送信し、構成可能なタイムアウトが発生した後に自動応答 (デプロイを拒否または再開) を指定するようにタスクを構成できます。

Note

組み込み変数とカスタム変数を使用して、命令の一部を生成できます。

When the Manual Intervention task is activated during a deployment, it sets the deployment state to IN PROGRESS. メッセージ バーに、指示を含む [手動介入] ダイアログを開くリンクが表示されます。 手動の手順を実行した後、管理者またはユーザーはデプロイの再開または拒否を選択できます。 Users with Manage deployment permission on the stage can resume or reject the manual intervention.

このタスクの使用方法の詳細については、「承認とゲートの概要を参照してください。

Requirements

Requirement Description
Pipeline types Classic release
Runs on Server
Demands None
Capabilities このタスクは、ジョブ内の後続のタスクに対する要求を満たしていません。
Command restrictions Any
Settable variables Any
Agent version サポートされているすべてのエージェント バージョン。
Task category Deploy