From 939463bf5b2f38daac0d81fc25ac6d437f0121fd Mon Sep 17 00:00:00 2001 From: Eray Felek Date: Mon, 16 Dec 2024 15:02:17 +0100 Subject: [PATCH] Update SonarQube Cloud analysis sh --- .cirrus/sonarqube-cloud-analysis.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus/sonarqube-cloud-analysis.sh b/.cirrus/sonarqube-cloud-analysis.sh index 239648043..98dc85897 100644 --- a/.cirrus/sonarqube-cloud-analysis.sh +++ b/.cirrus/sonarqube-cloud-analysis.sh @@ -18,7 +18,7 @@ if [ "$CIRRUS_BRANCH" == "master" ] && [ -z "$CIRRUS_PR" ]; then echo '======= Analyze master branch' dotnet sonarscanner begin "${SONAR_PARAMS[@]}" -elif [[ "$CIRRUS_BRANCH" == "branch-"* || "$CIRRUS_BRANCH" == "feature/"* ]] && [ -z "$CIRRUS_PR" ]; then +elif [[ "$CIRRUS_BRANCH" == "branch-"* || "$CIRRUS_BRANCH" == "ci-images-verifier" || "$CIRRUS_BRANCH" == "feature/"* ]] && [ -z "$CIRRUS_PR" ]; then echo '======= Analyze long lived branch' dotnet sonarscanner begin "${SONAR_PARAMS[@]}" -d:sonar.branch.name="${CIRRUS_BRANCH}" @@ -31,4 +31,4 @@ elif [ -n "$CIRRUS_PR" ]; then else echo '======= No analysis' -fi \ No newline at end of file +fi