GitLab CI/CD 1 · When jobs run

Run only on a schedule

Run a job only in scheduled pipelines, which you configure under Build, Pipeline schedules.

nightly-job:
  rules:
    - if: $CI_PIPELINE_SOURCE == "schedule"

Official GitLab CI/CD 1 documentation

More when jobs run commands

All when jobs run commands · GitLab CI/CD 1 cheatsheet

Was this page helpful?