Skip to content
Snippets Groups Projects
Verified Commit 7d5f4177 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Only run CI if everything succeeds

parent fc44a0f0
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ build:
- "./gradlew build"
rules:
- if: "$CI_COMMIT_BRANCH == 'master'"
when: always
when: on_success
test:
stage: "test"
......@@ -37,7 +37,7 @@ test:
- "build/test-results/**/TEST-*.xml"
rules:
- if: "$CI_COMMIT_BRANCH == 'master'"
when: always
when: on_success
dependencies:
- "build"
......@@ -54,4 +54,4 @@ release:
- "test"
rules:
- if: "$CI_COMMIT_TAG != '' && $CI_COMMIT_BRANCH == 'master'"
when: always
when: on_success
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment