From fe2f9c512fb0a320b318dec903d2c5b4a7dbe318 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Tue, 15 Apr 2025 08:03:36 +0200 Subject: [PATCH] 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. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2c0e2d6..9c0009c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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