Test Gate
The Test gate evaluates any tests that were executed within the current pipeline execution in a previous stage to determine whether the configured test qualifiers are met. Â If the qualifiers are met, the execution is passed through the gate. Â If any of the qualifiers are not met, the stage gate execution is marked as failed, and the pipeline execution fails.
Field | Description |
---|---|
Name | The name of the gate. |
Description | An optional description for the gate. |
Test Qualifier | The qualifying conditions to determine if the tests defined have been executed according to requirements. Possible values out of the box are:
|
Test Qualifier Value | Value for the qualifying conditions. Only applicable when Test Qualifier is one of the following:
|
Test Results for Environment | The FlexDeploy environment/stage within this pipeline to evaluate test result qualifiers for the current snapshot.  |
Test Override Role | An optional pipeline role that has privileges to override the gate in case of tests are not passing defined qualifiers. 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, user with Manage Gate Execution pipeline permission (via Role membership) or a FlexDeploy Administrator can override 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). |
- style