From c94d2a139535eef69faf58ff3e438ea9e87c3510 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 21 Jun 2016 17:02:40 +0200 Subject: [PATCH] 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 --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) 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: