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
|
# this file changes every time but should not be cached
|
||||||
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
||||||
|
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
||||||
|
|
||||||
connected10:
|
connected10:
|
||||||
variables:
|
variables:
|
||||||
@ -69,6 +70,7 @@ connected24:
|
|||||||
done
|
done
|
||||||
# this file changes every time but should not be cached
|
# this file changes every time but should not be cached
|
||||||
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
||||||
|
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
||||||
- exit $EXITVALUE
|
- exit $EXITVALUE
|
||||||
allow_failure: true # remove once install it runs reliably
|
allow_failure: true # remove once install it runs reliably
|
||||||
|
|
||||||
@ -78,6 +80,7 @@ pmd:
|
|||||||
- ./gradlew pmd -PdisablePreDex
|
- ./gradlew pmd -PdisablePreDex
|
||||||
# this file changes every time but should not be cached
|
# this file changes every time but should not be cached
|
||||||
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
||||||
|
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
||||||
|
|
||||||
checkstyle:
|
checkstyle:
|
||||||
script:
|
script:
|
||||||
@ -85,6 +88,7 @@ checkstyle:
|
|||||||
- ./gradlew checkstyle -PdisablePreDex
|
- ./gradlew checkstyle -PdisablePreDex
|
||||||
# this file changes every time but should not be cached
|
# this file changes every time but should not be cached
|
||||||
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
||||||
|
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
||||||
|
|
||||||
tools:
|
tools:
|
||||||
script:
|
script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user