Difference between revisions of "GitLab scheduled pipelines"

From wikieduonline
Jump to navigation Jump to search
Line 29: Line 29:
  
 
== See also ==
 
== See also ==
* {{GitLab}}
+
* {{GitLab CI}}
  
 
[[Category:GitLab]]
 
[[Category:GitLab]]

Revision as of 08:31, 28 September 2022


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: