Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The Schedule gate blocks stage execution until the current date/time evaluates to the given cron expression, or the configured FlexDeploy group overrides to continue.

Field

Description

Gate Name

The name of the gate.

Description

An optional description for the gate.

Schedule Cron Expression

The Cron Expression to use for setting up the schedule.  Sample cron expressions are provided in the drop-down. Cron Expressions entered are descriptively parsed if valid

Multiple Cron Expressions can be specified using semicolon as a delimiter. For example, 

0 0 11 ? * *;0 0 12 ? * *

is equivalent to

0 0 11-12 ? * *

For details on Cron Expression Syntax see http://www.quartz-scheduler.org/documentation/quartz-2.2.2/tutorials/crontrigger.html#crontrigger-tutorial

Schedule Override Role

The pipeline role that 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. 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).


  • No labels