gitlab-ci: retry flaky testFullDebugUnitTest

This commit is contained in:
Hans-Christoph Steiner 2021-01-18 19:18:16 +01:00
parent 474bbdfdbd
commit 06b6f8794f

View File

@ -40,7 +40,7 @@ test_lint_pmd_checkstyle:
- ./gradlew assemble
# always report on lint errors to the build log
- sed -i -e 's,textReport .*,textReport true,' app/build.gradle
- ./gradlew testFullDebugUnitTest
- ./gradlew testFullDebugUnitTest || ./gradlew testFullDebugUnitTest || ./gradlew testFullDebugUnitTest || set_error
- ./gradlew lint
- ./gradlew pmd || (export EXITVALUE=1; echo ERROR !!)
- ./gradlew checkstyle || (export EXITVALUE=1; echo ERROR !!)