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
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 == |
Revision as of 08:30, 28 September 2022
Contents
Official example
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
- GitLab: Install GitLab, Upgrade GitLab Gitlab runner (changelog),
gitlab.rb, .gitlab/, gitlab-ci.yml
,gitlab-ctl, gitlab-rake, gitlab-backup, gitlab-rails
, GitLab editions, GitLab Security Dashboards, GitLab environments, GitLab environment variables, Auto DevOps, permissions, GitLab Pages,gitlab-rails
, GitLab scheduled pipelines, GitLab logs, GitLab changelog , GitLab Release CLI, GitLab Omnibus, GitLab Advanced Search, GitLab container registry, GitLab infrastructure registry
Advertising: