Skip to content
Snippets Groups Projects
Commit 60975992 authored by Mathieu Courtois's avatar Mathieu Courtois
Browse files

[#34400] init sonarqube config

parent 5fbe9388
No related branches found
No related tags found
No related merge requests found
......@@ -47,3 +47,21 @@ auto_install:
needs: ["prepare", "unittests"]
script:
- .gitlabci/test_auto_install.sh
sonarqube-check:
stage: test
image:
name: sonarsource/sonar-scanner-cli:latest
entrypoint: [""]
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
cache:
key: "${CI_JOB_NAME}"
paths:
- .sonar/cache
script:
- sonar-scanner
allow_failure: true
# only:
# - main
sonar.projectKey=codeaster_devtools_AZTR4LwB2JThbS9_YjfM
sonar.qualitygate.wait=true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment