Difference between revisions of "GitLab scheduled pipelines"
Jump to navigation
Jump to search
↑ https://docs.gitlab.com/ee/ci/jobs/job_control.html#run-jobs-for-scheduled-pipelines
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
− | + | == Official example == | |
+ | <ref>https://docs.gitlab.com/ee/ci/jobs/job_control.html#run-jobs-for-scheduled-pipelines</ref> | ||
<pre> | <pre> | ||
job:on-schedule: | job:on-schedule: | ||
Line 16: | Line 17: | ||
- make build | - make build | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | == Examples == | ||
+ | [[except:]] | ||
+ | - [[schedules]] | ||
== Related == | == Related == | ||
Line 21: | Line 27: | ||
== See also == | == See also == | ||
− | * {{GitLab}} | + | * {{GitLab CI}} |
[[Category:GitLab]] | [[Category:GitLab]] |
Latest revision as of 08:32, 28 September 2022
Contents
Official example[edit]
job:on-schedule: rules: - if: $CI_PIPELINE_SOURCE == "schedule" script: - make world job: rules: - if: $CI_PIPELINE_SOURCE == "push" script: - make build
Examples[edit]
except: - schedules
Related[edit]
See also[edit]
- GitLab CI, variables, templates, executors,
.gitlab-ci.yml, .gitlab/
, Credential helpers, notifications, pipeline editor, Keyword reference, Changelog,ContainersNotReady
, GitLab environments
Advertising: