1
0
Fork 0

fix(build): base sonar project key on gitlab group

This commit is contained in:
ssube 2019-12-20 11:46:18 -06:00
parent 4b8299274f
commit 342a7b3d79
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 2 deletions

View File

@ -107,9 +107,9 @@ sonar-success:
script: script:
- make node_modules - make node_modules
- sonar-scanner - sonar-scanner
-Dsonar.projectKey=ssube_rollup-template -Dsonar.projectKey=${CI_PROJECT_NAMESPACE}_${CI_PROJECT_NAME}
-Dsonar.projectVersion=${CI_COMMIT_REF_SLUG} -Dsonar.projectVersion=${CI_COMMIT_REF_SLUG}
-Dsonar.organization=ssube-github -Dsonar.organization=${CI_PROJECT_NAMESPACE}-github
-Dsonar.sources=src/,test/ -Dsonar.sources=src/,test/
-Dsonar.host.url=https://sonarcloud.io -Dsonar.host.url=https://sonarcloud.io
-Dsonar.login=${SONAR_SECRET} -Dsonar.login=${SONAR_SECRET}