Skip to content

Commit c28fbf5

Browse files
committed
mergify: OR not supported, therefore we rely on pr-head now only
jenkins hooks are not always present, therefore we can't rely on them. Lets rely on not failing for jenkins-ci hooks. This should cover when they are not there due to smart tester, or executed and green. If failed, the condition would be false.
1 parent 6d301d7 commit c28fbf5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.mergify.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ pull_request_rules:
140140
- status-success~=continuous-integration/travis-ci/pr
141141
# Internal Jenkins - we rely on PR head to provide status
142142
- status-success~=continuous-integration/jenkins/pr-head
143-
# any of the jenkins pipeline needs to be green or not failed (if smart tester skippes some stages, they are not there)
144-
- status-success~=^jenkins-ci
143+
# any of the jenkins pipeline needs to be green. We rely on not failure means all good (if skipped or executed)
145144
- -status-failure~=^jenkins-ci
146145
actions:
147146
label:

0 commit comments

Comments
 (0)