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:
2025-04-06 18:23:40 +02:00
parent 9e8cd3b6c3
commit bf12bceb56
+1 -1
View File
@@ -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