aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorPierre Guillot <pierre.guillot@sonarsource.com>2019-12-11 17:21:53 +0100
committerSonarTech <sonartech@sonarsource.com>2019-12-16 20:46:13 +0100
commitd95698f07563a86afe808a21a92c5ed9c2a50357 (patch)
treedc23dc7f170f6a5d94edba4af935a63fd1a039ef /server
parentbd8fcea9be6e7f3af51b48479a2b1b8f25ee555f (diff)
downloadsonarqube-d95698f07563a86afe808a21a92c5ed9c2a50357.tar.gz
sonarqube-d95698f07563a86afe808a21a92c5ed9c2a50357.zip
DOCS add recommended GIT_DEPTH variable in examples
Diffstat (limited to 'server')
-rw-r--r--server/sonar-docs/src/pages/analysis/gitlab-cicd.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-docs/src/pages/analysis/gitlab-cicd.md b/server/sonar-docs/src/pages/analysis/gitlab-cicd.md
index beec052e9ae..ded4d42e289 100644
--- a/server/sonar-docs/src/pages/analysis/gitlab-cicd.md
+++ b/server/sonar-docs/src/pages/analysis/gitlab-cicd.md
@@ -42,6 +42,7 @@ image: gradle:alpine
variables:
SONAR_TOKEN: "your-sonarqube-token"
SONAR_HOST_URL: "http://your-sonarqube-instance.org"
+ GIT_DEPTH: 0
sonarqube-check:
stage: test
script: gradle sonarqube -Dsonar.qualitygate.wait=true
@@ -58,6 +59,7 @@ image: maven:latest
variables:
SONAR_TOKEN: "your-sonarqube-token"
SONAR_HOST_URL: "http://your-sonarqube-url"
+ GIT_DEPTH: 0
sonarqube-check:
script:
- mvn verify sonar:sonar -Dsonar.qualitygate.wait=true
@@ -76,6 +78,7 @@ image:
variables:
SONAR_TOKEN: "your-sonarqube-token"
SONAR_HOST_URL: "http://your-sonarqube-instance.org"
+ GIT_DEPTH: 0
sonarqube-check:
stage: test
script: