Skip to content
Snippets Groups Projects
Commit adaab89f authored by Erik Hedenström's avatar Erik Hedenström
Browse files

Added sonaqrube configuration

parent d6951d28
No related branches found
No related tags found
No related merge requests found
Pipeline #3148 failed
......@@ -26,6 +26,22 @@ stages:
paths:
- $CI_PROJECT_NAME-$CI_JOB_NAME
sonarqube:
image: sonarsource/sonar-scanner-cli:latest
stage: build
variables:
SONAR_USER_HOME: "$CI_PROJECT_DIR/.sonar"
GIT_DEPTH: "0"
cache:
key: $CI_JOB_NAME
paths:
- .sonar/cache
only:
- main
allow_failure: true
script:
- sonar-scanner
version.txt:
stage: build
only:
......
sonar.projectKey=go_vaultenv_AXyPJ7AsH35cfvcLwDFS
sonar.qualitygate.wait=true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment