diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3eb22b6c2..824432f91 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: