Populate sonar.projectKey property
* Change deprecated `sonar.jacoco.reportPath` to a new recommended one - `sonar.coverage.jacoco.xmlReportPaths`
This commit is contained in:
@@ -966,13 +966,14 @@ reference.onlyIf { "$System.env.NO_REFERENCE_TASK" != 'true' || project.hasPrope
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property 'sonar.jacoco.reportPath', "${buildDir.name}/jacoco.exec"
|
||||
property 'sonar.coverage.jacoco.xmlReportPaths', "${buildDir.name}/jacoco.exec"
|
||||
property 'sonar.links.homepage', linkHomepage
|
||||
property 'sonar.links.ci', linkCi
|
||||
property 'sonar.links.issue', linkIssue
|
||||
property 'sonar.links.scm', linkScmUrl
|
||||
property 'sonar.links.scm_dev', linkScmDevConnection
|
||||
property 'sonar.java.coveragePlugin', 'jacoco'
|
||||
property 'sonar.projectKey', "$group:$name"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user