The Approval gate creates a Task(s) for member group(s) of Approval Role value, and blocks until the Task is either approved or rejected (either through the release dashboard or the approval tasks page or via Emails). If there are no member groups for Approval Role, then Task is created for any Administrator group. If user member of Approval Role approves the gate, then task is created and approved for approver users group for reference.
Administrator can approve any task or gate.
Field | Description |
---|---|
Name | The name of the gate. |
Description | An optional description for the gate. |
Approval Role | The pipeline role which is responsible for approving or rejecting the task associated with this gate. If not specified, only a FlexDeploy Administrator can override the gate. Optionally, use a Groovy expression to make this field dynamic based on some contextual value (e.g. a property defined on the pipeline, and specified on the release). |
Precondition | An optional Groovy script which determines whether the gate or step is applicable during execution. The script has access to variables and methods listed in Pipeline Groovy Variables and Methods. You can find these variables and methods while using the Groovy Editor. The script must return true if the gate is applicable, or false otherwise. If no script is provided, the default is to return true (applicable). |