diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e34cb55eb..76782dea9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,13 +40,13 @@ test_lint_pmd_checkstyle: - sed -i -e 's,textReport .*,textReport true,' app/build.gradle - ./gradlew testFullDebugUnitTest - ./gradlew lint - - ./gradlew pmd || export EXITVALUE=1 - - ./gradlew checkstyle || export EXITVALUE=1 - - ./tools/check-format-strings.py || export EXITVALUE=1 - - ./tools/check-fastlane-whitespace.py || export EXITVALUE=1 - - ./tools/remove-unused-and-blank-translations.py || export EXITVALUE=1 + - ./gradlew pmd || (export EXITVALUE=1; echo ERROR !!) + - ./gradlew checkstyle || (export EXITVALUE=1; echo ERROR !!) + - ./tools/check-format-strings.py || (export EXITVALUE=1; echo ERROR !!) + - ./tools/check-fastlane-whitespace.py || (export EXITVALUE=1; echo ERROR !!) + - ./tools/remove-unused-and-blank-translations.py || (export EXITVALUE=1; echo ERROR !!) - echo "These are unused or blank translations that should be removed:" - - git --no-pager diff --ignore-all-space --name-only --exit-code app/src/*/res/values*/strings.xml || export EXITVALUE=1 + - git --no-pager diff --ignore-all-space --name-only --exit-code app/src/*/res/values*/strings.xml || (export EXITVALUE=1; echo ERROR !!) - exit $EXITVALUE errorprone: