aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rautureau <david.rautureau@sonarsource.com>2018-10-30 13:02:18 +0100
committerSonarTech <sonartech@sonarsource.com>2018-11-07 20:21:01 +0100
commit7ace9bd0471a2600c970de7d0706e7b7e1a8ae2a (patch)
tree8903eec1937134b720cdd59f0c8102ac63cc36f7
parent3a34e387ba0dae4a4932d1251f25bc32ef1c88ee (diff)
downloadsonarqube-7ace9bd0471a2600c970de7d0706e7b7e1a8ae2a.tar.gz
sonarqube-7ace9bd0471a2600c970de7d0706e7b7e1a8ae2a.zip
Cirrus - Do a full clone only for validate task
-rw-r--r--.cirrus.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 282b40226e5..4b30b1d97e0 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -41,6 +41,8 @@ build_task:
memory: 10Gb
gradle_cache:
folder: ~/.gradle/caches
+ env:
+ CIRRUS_CLONE_DEPTH: 1
script:
- ./private/cirrus/cirrus-build.sh
cleanup_before_cache_script:
@@ -57,6 +59,8 @@ deploy_docs_task:
namespace: default
cpu: 1
memory: 1Gb
+ env:
+ CIRRUS_CLONE_DEPTH: 1
script:
- ./private/cirrus/cirrus-trigger-deploy-docs.sh
@@ -125,6 +129,7 @@ qa_task:
QA_CATEGORY: Billing
QA_CATEGORY: License
QA_CATEGORY: Branch
+ CIRRUS_CLONE_DEPTH: 1
gradle_cache:
folder: ~/.gradle/caches
script:
@@ -146,5 +151,7 @@ promote_task:
namespace: default
cpu: 1
memory: 1Gb
+ env:
+ CIRRUS_CLONE_DEPTH: 1
script:
- ./private/cirrus/cirrus-promote.sh