GitLab scheduled pipelines

From wikieduonline
Revision as of 08:31, 28 September 2022 by Welcome (talk | contribs) (→‎See also)
Jump to navigation Jump to search


Official example

[1]

job:on-schedule:
  rules:
    - if: $CI_PIPELINE_SOURCE == "schedule"
  script:
    - make world

job:
  rules:
    - if: $CI_PIPELINE_SOURCE == "push"
  script:
    - make build


Examples

 except:
   - schedules


Related

See also

  • https://docs.gitlab.com/ee/ci/jobs/job_control.html#run-jobs-for-scheduled-pipelines
  • Advertising: