mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 05:26:58 +08:00
gitlab-ci: equally delay all jobs on integration branches
When running a pipeline on an integration branch in `cmake/cmake`, delay the lint jobs just as much as all the others. This avoids starting them unnecessarily during a sequence of merges over a short time range.
This commit is contained in:
@@ -31,7 +31,8 @@
|
|||||||
- if: '$CI_MERGE_REQUEST_ID'
|
- if: '$CI_MERGE_REQUEST_ID'
|
||||||
when: on_success
|
when: on_success
|
||||||
- if: '$CI_PROJECT_PATH == "cmake/cmake"'
|
- if: '$CI_PROJECT_PATH == "cmake/cmake"'
|
||||||
when: on_success
|
when: delayed
|
||||||
|
start_in: 5 minutes
|
||||||
- when: never
|
- when: never
|
||||||
|
|
||||||
.run_dependent:
|
.run_dependent:
|
||||||
|
Reference in New Issue
Block a user