Skip to content

Commit e4075f9

Browse files
committed
Added Sonar Branch Analysis
1 parent a224c65 commit e4075f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-flow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
- name: PR-BUILD
1717
run: |
1818
cd initial
19-
echo "${{ github.head_ref }}"
2019
export CHANGE_ID=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')
2120
bash ./gradlew -Pbuild_target=SNAPSHOT clean build jacocoTestReport spotlessApply spotbugsMain
21+
bash ./gradlew sonarqube -Dsonar.pullrequest.branch=${{ github.head_ref }} -Dsonar.pullrequest.base=${{ github.base_ref } -Dsonar.pullrequest.key=${CHANGE_ID} showSonarQubeLink --info

0 commit comments

Comments
 (0)