Test Gate

The Test gate evaluates any tests which were executed within the current pipeline execution for the given 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

Field

Description

Gate Name

The name of the gate.

Description

An optional description for the gate.

Test Type

The environment/stage to check test results for.  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).

Test Results for Environment

The FlexDeploy environment/stage within this pipeline to evaluate test result qualifiers for the current snapshot.  

Test Type

The environment/stage to check test results for.  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).

Test Role Override

An optional pipeline role which has privileges to override the gate in case of tests not passing defined qualifiers.  If not specified, only 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 methods using Variable Lookup help.

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).





The following macros are not currently supported in the footer:
  • style