From f2fafcb6b6cdb246fcbd18cf10c77a18943027dd Mon Sep 17 00:00:00 2001
From: Alexis POYEN <apoyen@grandlyon.com>
Date: Thu, 16 Jul 2020 15:20:52 +0200
Subject: [PATCH] Update .gitlab-ci.yml for better sonar analysis

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d20084f..1ab484d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,8 @@ variables:
   DOCKER_DRIVER: overlay2
   DOCKER_TLS_CERTDIR: ""
   SONAR_URL: https://sonarqube.forge.grandlyon.com
+  GIT_STRATEGY: clone
+  GIT_DEPTH: 0
 
 stages:
   - sonar-analysis
-- 
GitLab