Skip to content

Commit 63ec36c

Browse files
committed
use new sonar task
Signed-off-by: Kai Helbig <[email protected]>
1 parent 3bb0fd6 commit 63ec36c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6868
SONAR_TOKEN: ${{ secrets.SONAR_LOGIN }}
69-
run: ./gradlew sonarqube
69+
run: ./gradlew sonar
7070
- name: Run integration tests
7171
run: ./gradlew e2e
7272
- name: Publish test report

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ subprojects {
150150
}
151151
}
152152

153-
sonarqube {
153+
sonar {
154154
properties {
155155
property "sonar.coverage.jacoco.xmlReportPaths", "${project.projectDir}/build/reports/jacoco/test/jacocoTestReport.xml"
156156
}
@@ -201,7 +201,7 @@ subprojects {
201201
}
202202
}
203203

204-
sonarqube {
204+
sonar {
205205
skipProject = !(System.getenv('SONAR_TOKEN')?.trim())
206206
properties {
207207
property "sonar.host.url", "https://sonarcloud.io"

0 commit comments

Comments
 (0)