diff options
author | Brad King <brad.king@kitware.com> | 2021-03-15 17:27:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-03-17 15:41:25 (GMT) |
commit | 402518904f08c2eb9b4bbcc58c70a2bc9884fb4b (patch) | |
tree | 4688383c529ac1afb83710bb1adcd7ceb7ab7349 /.gitlab/rules.yml | |
parent | 747940157f897bfaf875a85d30dad1f1902094b9 (diff) | |
download | CMake-402518904f08c2eb9b4bbcc58c70a2bc9884fb4b.zip CMake-402518904f08c2eb9b4bbcc58c70a2bc9884fb4b.tar.gz CMake-402518904f08c2eb9b4bbcc58c70a2bc9884fb4b.tar.bz2 |
gitlab-ci: add rules to enable jobs only 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 b3e5342..5685463 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -6,6 +6,8 @@ when: never - if: '$CMAKE_CI_NIGHTLY == "true"' when: on_success + - if: '$CMAKE_CI_JOB_NIGHTLY == "true"' + when: never - 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 @@ -24,6 +26,8 @@ when: never - if: '$CMAKE_CI_NIGHTLY == "true"' when: on_success + - if: '$CMAKE_CI_JOB_NIGHTLY == "true"' + when: never - if: '($CMAKE_CI_PROJECT_CONTINUOUS_BRANCH != "" && $CI_COMMIT_BRANCH == $CMAKE_CI_PROJECT_CONTINUOUS_BRANCH && $CMAKE_CI_JOB_CONTINUOUS == "true")' when: on_success - if: '($CMAKE_CI_NO_MR == "true" && $CI_MERGE_REQUEST_ID)' @@ -42,6 +46,8 @@ when: always - if: '$CMAKE_CI_NIGHTLY == "true"' when: on_success + - if: '$CMAKE_CI_JOB_NIGHTLY == "true"' + when: never - if: '($CMAKE_CI_NO_MR == "true" && $CI_MERGE_REQUEST_ID)' when: never - if: '$CI_MERGE_REQUEST_ID' |