Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Image RemovedImage Added

Field

Description

Gate Name

The name of the gate.

DescriptionAn optional description for the gate.
Test TypeThe 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 TypeThe 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 OverrideAn 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

The script has access to variables and methods listed in

the expression Image Removeddrop-down.  The

Pipeline Groovy Variables and Methods. You can find these variables methods using Variable Lookup help.

The script must return true if the gate

/step

is applicable, or false otherwise.  If no script is provided, the default is to return true (applicable).