gitlab-ci: echo when test/pmd/lint/etc fails
This commit is contained in:
parent
2ac9100eea
commit
e0fd1ec771
@ -40,13 +40,13 @@ test_lint_pmd_checkstyle:
|
|||||||
- sed -i -e 's,textReport .*,textReport true,' app/build.gradle
|
- sed -i -e 's,textReport .*,textReport true,' app/build.gradle
|
||||||
- ./gradlew testFullDebugUnitTest
|
- ./gradlew testFullDebugUnitTest
|
||||||
- ./gradlew lint
|
- ./gradlew lint
|
||||||
- ./gradlew pmd || export EXITVALUE=1
|
- ./gradlew pmd || (export EXITVALUE=1; echo ERROR !!)
|
||||||
- ./gradlew checkstyle || export EXITVALUE=1
|
- ./gradlew checkstyle || (export EXITVALUE=1; echo ERROR !!)
|
||||||
- ./tools/check-format-strings.py || export EXITVALUE=1
|
- ./tools/check-format-strings.py || (export EXITVALUE=1; echo ERROR !!)
|
||||||
- ./tools/check-fastlane-whitespace.py || export EXITVALUE=1
|
- ./tools/check-fastlane-whitespace.py || (export EXITVALUE=1; echo ERROR !!)
|
||||||
- ./tools/remove-unused-and-blank-translations.py || export EXITVALUE=1
|
- ./tools/remove-unused-and-blank-translations.py || (export EXITVALUE=1; echo ERROR !!)
|
||||||
- echo "These are unused or blank translations that should be removed:"
|
- 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
|
- exit $EXITVALUE
|
||||||
|
|
||||||
errorprone:
|
errorprone:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user