Skip to content

Commit fdc7286

Browse files
committed
Re-added SonarQube plugin
1 parent 06afe50 commit fdc7286

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3535
run: |
3636
chmod +x gradlew
37-
./gradlew build
37+
./gradlew build sonar

build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ plugins {
77
id 'com.github.ben-manes.versions' version '0.52.0' // check for out-of-date dependencies (run 'dependencyUpdates' manually)
88
id 'com.github.spotbugs' version '6.1.11' // spotbugs code analysis
99
id 'org.sonatype.gradle.plugins.scan' version '3.1.1' // scan for vulnerabilities
10+
id 'org.sonarqube' version '6.1.0.5360' // sonarQube analysis
1011
}
1112

1213
group = 'com.imsweb'
@@ -70,6 +71,14 @@ jacocoTestReport {
7071
}
7172
test.finalizedBy jacocoTestReport
7273

74+
sonarqube {
75+
properties {
76+
property 'sonar.projectKey', 'imsweb_seerutils'
77+
property 'sonar.organization', 'imsweb'
78+
property 'sonar.host.url', 'https://sonarcloud.io'
79+
}
80+
}
81+
7382
// Nexus vulnerability scan (see https://github.com/sonatype-nexus-community/scan-gradle-plugin)
7483
ossIndexAudit {
7584
outputFormat = 'DEPENDENCY_GRAPH'

0 commit comments

Comments
 (0)