Skip to content

Commit 29dad9c

Browse files
Gitlab CI: do not trigger plugin pipelines if run on schedule
This restores the previous behavior. The plugin project has not tests that benefit from running even if there are no changes to the Maven artifacts of this project.
1 parent 8cc8b0a commit 29dad9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ trigger-plugin:
192192
# Do not trigger publishing of plugin
193193
- if: $CI_COMMIT_BRANCH == "publish"
194194
when: never
195+
# Not for scheduled pipelines where Maven snapshots of this project do not change
196+
- if: $CI_PIPELINE_SOURCE == "schedule"
197+
when: never
195198
# Otherwise, only if no previous stages failed. Also set allow_failure in case branch does not exist downstream.
196199
- when: on_success
197200
inherit:

0 commit comments

Comments
 (0)