diff options
author | Brad King <brad.king@kitware.com> | 2020-10-06 11:20:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-10-07 10:16:51 (GMT) |
commit | dd47d0d7f49c85d8a3c5b644876aafc3c4ffc811 (patch) | |
tree | 1c1bf651a2a1611e5a366a9695c6e5f6dec7700e /.gitlab/rules.yml | |
parent | 3f494b12ea91a807086eea87587184a1e266efe6 (diff) | |
download | CMake-dd47d0d7f49c85d8a3c5b644876aafc3c4ffc811.zip CMake-dd47d0d7f49c85d8a3c5b644876aafc3c4ffc811.tar.gz CMake-dd47d0d7f49c85d8a3c5b644876aafc3c4ffc811.tar.bz2 |
gitlab-ci: add rules to enable jobs in a nightly pipeline schedule
Diffstat (limited to '.gitlab/rules.yml')
-rw-r--r-- | .gitlab/rules.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml index 1edfd97..5ee8333 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -4,6 +4,8 @@ rules: - if: '$CMAKE_CI_PACKAGE == "true"' when: never + - if: '$CMAKE_CI_NIGHTLY == "true"' + when: on_success - if: '($CMAKE_CI_PROJECT_CONTINUOUS_BRANCH != "" && $CI_COMMIT_BRANCH == $CMAKE_CI_PROJECT_CONTINUOUS_BRANCH && $CMAKE_CI_JOB_CONTINUOUS == "true")' when: delayed start_in: 5 minutes @@ -18,6 +20,8 @@ rules: - if: '$CMAKE_CI_PACKAGE == "true"' when: never + - if: '$CMAKE_CI_NIGHTLY == "true"' + when: on_success - if: '($CMAKE_CI_PROJECT_CONTINUOUS_BRANCH != "" && $CI_COMMIT_BRANCH == $CMAKE_CI_PROJECT_CONTINUOUS_BRANCH && $CMAKE_CI_JOB_CONTINUOUS == "true")' when: on_success - if: '$CI_MERGE_REQUEST_ID' @@ -30,6 +34,8 @@ rules: - if: '$CMAKE_CI_PACKAGE == "true"' when: never + - if: '$CMAKE_CI_NIGHTLY == "true"' + when: on_success - if: '$CI_MERGE_REQUEST_ID' when: on_success - if: '$CI_PROJECT_PATH == "cmake/cmake"' |