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:
|
||||
- .sonar/cache
|
||||
script:
|
||||
- sonar-scanner
|
||||
- sonar-scanner -Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.organization=${SONAR_ORGANIZATION} -Dsonar.token=${SONAR_TOKEN}
|
||||
only:
|
||||
- merge_requests
|
||||
- develop
|
||||
|
||||
Reference in New Issue
Block a user