Voici la documentation : https://geoplateforme.pages.gpf-tech.ign.fr/documentation

Skip to content
Extraits de code Groupes Projets

fix(ci): sonar analysis in sonar stage instead of test stage

Fusionnées Matthieu Proboeuf a demandé de fusionner fix/template-sonar vers main
1 fichier
+ 4
0
Comparer les modifications
  • Côte à côte
  • En ligne
+ 4
0
@@ -16,6 +16,7 @@ sonarqube-check:main:
name: sonarsource/sonar-scanner-cli:latest
entrypoint: [""]
stage: test
needs: [ "test" ]
variables:
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar"
GIT_DEPTH: "0"
@@ -44,6 +45,7 @@ sonarqube-check:main:
sonarqube-check:maven:main:
image: maven:3.8.3-openjdk-17
stage: test
needs: [ "test" ]
variables:
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
@@ -67,6 +69,7 @@ sonarqube-check:maven:main:
sonarqube-check:maven:branch:
image: maven:3.8.3-openjdk-17
stage: test
needs: [ "test" ]
variables:
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
@@ -103,6 +106,7 @@ sonarqube-check:branch:
name: sonarsource/sonar-scanner-cli:latest
entrypoint: [""]
stage: test
needs: [ "test" ]
variables:
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar"
GIT_DEPTH: "0"
Chargement en cours