diff options
author | Brad King <brad.king@kitware.com> | 2024-02-28 21:02:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-02-29 16:59:05 (GMT) |
commit | a0f85760ac0acdb948536cd440519171f1598b04 (patch) | |
tree | f43427a8a992226725a30dd356e7dcbda3f4b2d8 /.gitlab | |
parent | a50982b6373ef7f88820283bdfd2c9d3d0e36634 (diff) | |
download | CMake-a0f85760ac0acdb948536cd440519171f1598b04.zip CMake-a0f85760ac0acdb948536cd440519171f1598b04.tar.gz CMake-a0f85760ac0acdb948536cd440519171f1598b04.tar.bz2 |
gitlab-ci: add rules to suppress jobs in a nightly pipeline schedule
Diffstat (limited to '.gitlab')
-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 b85b728..0402d33 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -4,6 +4,8 @@ rules: - if: '$CMAKE_CI_PACKAGE != null' when: never + - if: '($CMAKE_CI_NIGHTLY == "true" && $CMAKE_CI_JOB_NIGHTLY == "false")' + when: never - if: '$CMAKE_CI_NIGHTLY == "true"' when: on_success - if: '$CMAKE_CI_JOB_NIGHTLY == "true"' @@ -25,6 +27,8 @@ rules: - if: '$CMAKE_CI_PACKAGE != null' when: never + - if: '($CMAKE_CI_NIGHTLY == "true" && $CMAKE_CI_JOB_NIGHTLY == "false")' + when: never - if: '$CMAKE_CI_NIGHTLY == "true"' when: on_success - if: '$CMAKE_CI_JOB_NIGHTLY == "true"' @@ -46,6 +50,8 @@ rules: - if: '$CMAKE_CI_PACKAGE != null' when: never + - if: '($CMAKE_CI_NIGHTLY == "true" && $CMAKE_CI_JOB_NIGHTLY == "false")' + when: never - if: '($CMAKE_CI_NIGHTLY == "true" && $CMAKE_CI_NIGHTLY_IGNORE_DEPS == "true")' when: always - if: '$CMAKE_CI_NIGHTLY == "true"' |