Difference between revisions of "GitLab scheduled pipelines"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
* https://docs.gitlab.com/ee/ci/pipelines/schedules.html | * https://docs.gitlab.com/ee/ci/pipelines/schedules.html | ||
+ | |||
+ | <pre> | ||
+ | job:on-schedule: | ||
+ | rules: | ||
+ | - if: $CI_PIPELINE_SOURCE == "schedule" | ||
+ | script: | ||
+ | - make world | ||
+ | |||
+ | job: | ||
+ | rules: | ||
+ | - if: $CI_PIPELINE_SOURCE == "push" | ||
+ | script: | ||
+ | - make build | ||
+ | </pre> | ||
== Related == | == Related == |
Revision as of 05:22, 17 August 2022
job:on-schedule: rules: - if: $CI_PIPELINE_SOURCE == "schedule" script: - make world job: rules: - if: $CI_PIPELINE_SOURCE == "push" script: - make build
Related
- 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: