schedules definition

The schedules list specifies the scheduled triggers for the pipeline.

schedules: [ cron ] # The schedules list specifies the scheduled triggers for the pipeline.

Definitions that reference this definition: pipeline

List types

Type Description
schedules.cron A scheduled trigger specifies a schedule on which branches are built.

Remarks

If you specify no scheduled trigger, no scheduled builds occur.

Important

Scheduled triggers defined using the pipeline settings UI take precedence over YAML scheduled triggers.

If your YAML pipeline has both YAML scheduled triggers and UI defined scheduled triggers, only the UI defined scheduled triggers are run. To run the YAML defined scheduled triggers in your YAML pipeline, you must remove the scheduled triggers defined in the pipeline settings UI. Once all UI scheduled triggers are removed, a push must be made in order for the YAML scheduled triggers to start being evaluated.

To delete UI scheduled triggers from a YAML pipeline, see UI settings override YAML scheduled triggers.

See also