Skip to content
Snippets Groups Projects
Commit 5f0ca59a authored by Reinder Kraaij's avatar Reinder Kraaij :eye:
Browse files

tune sonar

parent 81231a3a
No related branches found
No related tags found
No related merge requests found
Pipeline #88608 failed
...@@ -29,11 +29,9 @@ build_package: ...@@ -29,11 +29,9 @@ build_package:
expire_in: "1w" expire_in: "1w"
variables:
stage: quality
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
sonarcloud-check: sonarcloud-check:
stage: quality
image: image:
name: sonarsource/sonar-scanner-cli:latest name: sonarsource/sonar-scanner-cli:latest
entrypoint: [ "" ] entrypoint: [ "" ]
...@@ -41,6 +39,10 @@ sonarcloud-check: ...@@ -41,6 +39,10 @@ sonarcloud-check:
key: "${CI_JOB_NAME}" key: "${CI_JOB_NAME}"
paths: paths:
- .sonar/cache - .sonar/cache
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
before_script: [ ]
script: script:
- sonar-scanner - sonar-scanner
only: only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment