Skip to content
Snippets Groups Projects
Commit 7a3ba876 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: prevent shallow git clone (required by Sonar Scanner)

parent ceb6a5c5
No related branches found
No related tags found
No related merge requests found
......@@ -292,6 +292,10 @@ sonar:
services:
- name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
command: ["--service", "sonar", "1.3.1" ]
variables:
# Tells git to fetch all the branches of the project, required by the analysis task
# see: https://docs.sonarqube.org/8.5/analysis/gitlab-cicd/#header-2
GIT_DEPTH: 0
before_script:
- *sonar-scripts
- install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment