File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ if [ "$CIRRUS_BRANCH" == "master" ] && [ -z "$CIRRUS_PR" ]; then
18
18
echo ' ======= Analyze master branch'
19
19
dotnet sonarscanner begin " ${SONAR_PARAMS[@]} "
20
20
21
- elif [[ " $CIRRUS_BRANCH " == " branch-" * || " $CIRRUS_BRANCH " == " ci-images-verifier" || " $CIRRUS_BRANCH " == " feature/" * ]] && [ -z " $CIRRUS_PR " ]; then
22
- echo ' ======= Analyze long lived branch'
23
- dotnet sonarscanner begin " ${SONAR_PARAMS[@]} " -d:sonar.branch.name=" ${CIRRUS_BRANCH} "
24
-
25
21
elif [ -n " $CIRRUS_PR " ]; then
26
22
echo ' ======= Analyze pull request'
27
23
dotnet sonarscanner begin " ${SONAR_PARAMS[@]} " \
@@ -30,5 +26,6 @@ elif [ -n "$CIRRUS_PR" ]; then
30
26
-d:sonar.pullrequest.base=" ${CIRRUS_BASE_BRANCH} "
31
27
32
28
else
33
- echo ' ======= No analysis'
29
+ echo ' ======= Analyze branch'
30
+ dotnet sonarscanner begin " ${SONAR_PARAMS[@]} " -d:sonar.branch.name=" ${CIRRUS_BRANCH} "
34
31
fi
You can’t perform that action at this time.
0 commit comments