The Approval gate creates Task(s) for member group(s) of configured Approval Role, and blocks until one of 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. Note that even when more than one Group is member of Approval Role, only one approval is needed to complete this gate.
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. 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). When using a role script you can dynamically return a key/value pair. For example If not specified, only a FlexDeploy Administrator can approve or reject the gate. |
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). |