//
// Some additional properties are currently set in the Jenkins-DSL, see jenkins/create_jobs.groovy
//
- sonarqube {
+ sonar {
properties {
// as we currently use build/<module>/ as project-basedir, we need to tell Sonar to use
// the root-folder as "basedir" for the projects
gradle {
switches('-PenableSonar')
- switches('-Dsonar.login=${POI_SONAR_TOKEN}')
+ switches('-Dsonar.token=${POI_SONAR_TOKEN}')
switches('-Dsonar.organization=apache')
switches('-Dsonar.projectKey=poi-parent')
switches('-Dsonar.host.url=https://sonarcloud.io')
tasks('clean')
tasks('check')
tasks('jacocoTestReport')
- tasks('sonarqube')
+ tasks('sonar')
useWrapper(true)
}
}
gradle {
if (xjob.sonar) {
switches('-PenableSonar')
- switches('-Dsonar.login=${POI_SONAR_TOKEN}')
+ switches('-Dsonar.token=${POI_SONAR_TOKEN}')
switches('-Dsonar.organization=apache')
switches('-Dsonar.projectKey=apache_xmlbeans')
switches('-Dsonar.host.url=https://sonarcloud.io')
tasks('jenkins')
tasks('jacocoTestReport')
if (xjob.sonar) {
- tasks('sonarqube')
+ tasks('sonar')
}
useWrapper(true)
}