gitlab-ci: another gradle bit to delete for good caching
recommended here, seems like it can't hurt: https://docs.travis-ci.com/user/languages/java/#Caching
This commit is contained in:
parent
3f352ae83f
commit
c94d2a1395
@ -21,6 +21,7 @@ test:
|
||||
}
|
||||
# this file changes every time but should not be cached
|
||||
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
||||
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
||||
|
||||
connected10:
|
||||
variables:
|
||||
@ -69,6 +70,7 @@ connected24:
|
||||
done
|
||||
# this file changes every time but should not be cached
|
||||
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
||||
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
||||
- exit $EXITVALUE
|
||||
allow_failure: true # remove once install it runs reliably
|
||||
|
||||
@ -78,6 +80,7 @@ pmd:
|
||||
- ./gradlew pmd -PdisablePreDex
|
||||
# this file changes every time but should not be cached
|
||||
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
||||
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
||||
|
||||
checkstyle:
|
||||
script:
|
||||
@ -85,6 +88,7 @@ checkstyle:
|
||||
- ./gradlew checkstyle -PdisablePreDex
|
||||
# this file changes every time but should not be cached
|
||||
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
||||
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
||||
|
||||
tools:
|
||||
script:
|
||||
|
Loading…
x
Reference in New Issue
Block a user