Skip to content

Commit

Permalink
Update SonarQube Cloud analysis sh
Browse files Browse the repository at this point in the history
  • Loading branch information
eray-felek-sonarsource committed Dec 16, 2024
1 parent f8c15c7 commit 939463b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cirrus/sonarqube-cloud-analysis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand All @@ -31,4 +31,4 @@ elif [ -n "$CIRRUS_PR" ]; then

else
echo '======= No analysis'
fi
fi

0 comments on commit 939463b

Please sign in to comment.