Skip to content

Commit 80180aa

Browse files
committed
Fix pipeline report status
1 parent 650e567 commit 80180aa

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.gitlab-ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,24 +78,26 @@ mvn-deploy-snapshot:
7878
environment:
7979
name: reporting-github
8080
dependencies: []
81-
rules:
82-
- if: $BUILD_FOR_INSTALLER == "false"
8381

8482
pending:
8583
stage: .pre
8684
extends:
8785
- .report-status
86+
rules:
87+
- if: $BUILD_FOR_INSTALLER == "false"
8888

8989
success:
9090
stage: .post
9191
extends:
9292
- .report-status
93+
rules:
94+
- if: $BUILD_FOR_INSTALLER == "false"
95+
when: on_success
9396

9497
failure:
9598
stage: .post
9699
extends:
97100
- .report-status
98101
rules:
99102
- if: $BUILD_FOR_INSTALLER == "false"
100-
when: never
101-
- when: on_failure
103+
when: on_failure

0 commit comments

Comments
 (0)