aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2018-09-19 09:33:50 +0200
committerSonarTech <sonartech@sonarsource.com>2018-09-19 10:54:37 +0200
commit8442693da0375852b57e6a43fdb5774c48be04c3 (patch)
treeaf3116027fbc1612c72359abc8c09a32d946fa18 /.cirrus.yml
parentfdf0f2f89300342c932ab23b71c895866c7d4834 (diff)
downloadsonarqube-8442693da0375852b57e6a43fdb5774c48be04c3.tar.gz
sonarqube-8442693da0375852b57e6a43fdb5774c48be04c3.zip
Do not cache Gradle daemon temp files
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index b54fa23f4c7..c805b0bf37e 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -45,8 +45,7 @@ build_task:
script:
- ./private/cirrus/cirrus-build.sh
cleanup_before_cache_script:
- - rm -rf ~/.gradle/caches/$GRADLE_VERSION/
- - find ~/.gradle/caches/ -name "*.lock" -type f -delete
+ - ./private/cirrus/cleanup-gradle-cache.sh
deploy_docs_task:
depends_on: build
@@ -85,8 +84,7 @@ validate_task:
script:
- ./private/cirrus/cirrus-validate.sh postgres
cleanup_before_cache_script:
- - rm -rf ~/.gradle/caches/$GRADLE_VERSION/
- - find ~/.gradle/caches/ -name "*.lock" -type f -delete
+ - ./private/cirrus/cleanup-gradle-cache.sh
qa_task:
depends_on: build
@@ -123,8 +121,7 @@ qa_task:
script:
- ./private/cirrus/cirrus-qa.sh postgres
cleanup_before_cache_script:
- - rm -rf ~/.gradle/caches/$GRADLE_VERSION/
- - find ~/.gradle/caches/ -name "*.lock" -type f -delete
+ - ./private/cirrus/cleanup-gradle-cache.sh
promote_task:
depends_on: