Skip to content

Commit 49c4551

Browse files
Modify ver Sonar plugin
1 parent f6258f1 commit 49c4551

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/mainCI.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525

2626
- name: Execute Gradle build
2727
run: ./gradlew build --no-daemon -Dsentry.auth.token=${{ secrets.SENTRY_AUTH_TOKEN }}
28+
29+
- name: Generate coverage report
30+
run: ./gradlew jacocoTestReport
2831

2932
- name: Cache SonarQube packages
3033
uses: actions/cache@v4
@@ -43,4 +46,4 @@ jobs:
4346
- name: Build and analyze
4447
env:
4548
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
46-
run: ./gradlew build sonar --info
49+
run: ./gradlew sonar --info

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
id("org.springframework.boot") version "3.5.6"
88
id("org.springdoc.openapi-gradle-plugin") version "1.9.0"
99
id("io.spring.dependency-management") version "1.1.7"
10-
id("org.sonarqube") version "7.0.1.6134"
10+
id("org.sonarqube") version "6.2.0.5505" //id("org.sonarqube") version "7.0.1.6134"
1111
id("io.sentry.jvm.gradle") version "5.12.2"
1212
}
1313

@@ -137,7 +137,7 @@ sonar {
137137
property("sonar.organization", "victorgotsenko")
138138
property("sonar.host.url", "https://sonarcloud.io")
139139
// Отключаем проверку зависимостей
140-
property("sonar.dependencyVerification.enabled", "false")
140+
// property("sonar.dependencyVerification.enabled", "false")
141141
}
142142
}
143143

0 commit comments

Comments
 (0)