|
|
@@ -366,7 +366,7 @@ poijobs.each { poijob -> |
|
|
|
|
|
|
|
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') |
|
|
@@ -377,7 +377,7 @@ poijobs.each { poijob -> |
|
|
|
tasks('clean') |
|
|
|
tasks('check') |
|
|
|
tasks('jacocoTestReport') |
|
|
|
tasks('sonarqube') |
|
|
|
tasks('sonar') |
|
|
|
useWrapper(true) |
|
|
|
} |
|
|
|
} |
|
|
@@ -564,7 +564,7 @@ xmlbeansjobs.each { xjob -> |
|
|
|
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') |
|
|
@@ -577,7 +577,7 @@ xmlbeansjobs.each { xjob -> |
|
|
|
tasks('jenkins') |
|
|
|
tasks('jacocoTestReport') |
|
|
|
if (xjob.sonar) { |
|
|
|
tasks('sonarqube') |
|
|
|
tasks('sonar') |
|
|
|
} |
|
|
|
useWrapper(true) |
|
|
|
} |