fix(build): base sonar project key on gitlab group
This commit is contained in:
parent
4b8299274f
commit
342a7b3d79
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue