mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-14 04:02:09 +03:00
gitlab-ci: Run manual jobs automatically only on scheduled pipelines
Previously we ran manual jobs automatically in the `cmake/cmake` project integration branches. Change this to happen only when the pipeline is created by a schedule. Also, start automatic jobs in scheduled pipelines without delay.
This commit is contained in:
1 parent
70024a4cf5
commit
ada9855b78
1 file changed
+5
-2
+5
-2
@@ -15,9 +15,10 @@
|
||||
when: never
|
||||
- if: '$CI_MERGE_REQUEST_ID'
|
||||
when: manual
|
||||
- if: '$CI_PROJECT_PATH == "cmake/cmake" && $CI_PIPELINE_SOURCE == "schedule"'
|
||||
when: on_success
|
||||
- if: '$CI_PROJECT_PATH == "cmake/cmake"'
|
||||
when: delayed
|
||||
start_in: 5 minutes
|
||||
when: manual
|
||||
- when: never
|
||||
|
||||
.run_automatically:
|
||||
@@ -34,6 +35,8 @@
|
||||
when: never
|
||||
- if: '$CI_MERGE_REQUEST_ID'
|
||||
when: on_success
|
||||
- if: '$CI_PROJECT_PATH == "cmake/cmake" && $CI_PIPELINE_SOURCE == "schedule"'
|
||||
when: on_success
|
||||
- if: '$CI_PROJECT_PATH == "cmake/cmake"'
|
||||
when: delayed
|
||||
start_in: 5 minutes
|
||||
|
||||
Reference in new issue
Block a user