diff options
author | Brad King <brad.king@kitware.com> | 2020-09-10 20:02:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-09-10 20:02:56 (GMT) |
commit | 99044f8e160e748d7f69df03c048401b864dae98 (patch) | |
tree | 505e5ab899bcbc95a586e7a203d97ff900a11fe2 | |
parent | 487c71123006e6ea79b5734d60cd0731164ecaaa (diff) | |
parent | f6a80ffd545dcdc0c36f3ac878aa971f33f3ade5 (diff) | |
download | CMake-99044f8e160e748d7f69df03c048401b864dae98.zip CMake-99044f8e160e748d7f69df03c048401b864dae98.tar.gz CMake-99044f8e160e748d7f69df03c048401b864dae98.tar.bz2 |
Merge topic 'gitlab-ci-prefer-mr'
f6a80ffd54 gitlab-ci: Prefer MR rules for any pipeline associated with a MR
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5214
-rw-r--r-- | .gitlab/rules.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml index 88756eb..3bb8ae4 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -2,17 +2,17 @@ .run_manually: rules: + - if: '$CI_MERGE_REQUEST_ID' + when: manual - if: '$CI_PROJECT_PATH == "cmake/cmake"' when: delayed start_in: 5 minutes - - if: '$CI_MERGE_REQUEST_ID' - when: manual - when: never .run_automatically: rules: - - if: '$CI_PROJECT_PATH == "cmake/cmake"' - when: on_success - if: '$CI_MERGE_REQUEST_ID' when: on_success + - if: '$CI_PROJECT_PATH == "cmake/cmake"' + when: on_success - when: never |