Update SonarQube scan configuration in CI pipeline
Added project key, organization, and token parameters to the `sonar-scanner` command for better integration and customization. This ensures proper identification and authentication with SonarQube during code analysis.
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ sonarcloud_scan:
|
|||||||
paths:
|
paths:
|
||||||
- .sonar/cache
|
- .sonar/cache
|
||||||
script:
|
script:
|
||||||
- sonar-scanner
|
- sonar-scanner -Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.organization=${SONAR_ORGANIZATION} -Dsonar.token=${SONAR_TOKEN}
|
||||||
only:
|
only:
|
||||||
- merge_requests
|
- merge_requests
|
||||||
- develop
|
- develop
|
||||||
|
|||||||
Reference in New Issue
Block a user