Set Sonar branch name to 'develop' in CI pipeline

Added the Sonar branch name parameter to ensure proper tracking of the 'develop' branch during analysis. This change enhances consistency and accuracy in SonarQube reporting for this branch.
This commit is contained in:
2025-04-15 08:03:36 +02:00
parent 65b5ebcdfb
commit fe2f9c512f
+1
View File
@@ -54,6 +54,7 @@ sonarcloud_scan:
-Dsonar.projectKey=${SONAR_PROJECT_KEY} \
-Dsonar.organization=${SONAR_ORGANIZATION} \
-Dsonar.token=${SONAR_TOKEN} \
-Dsonar.branch.name=develop \
-Dsonar.test.exclusions=src/test/java/**/* \
-Dsonar.exclusions=docs/** \
-Dsonar.java.binaries=target/classes