clean-up old build results before sonarqube build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893344 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2021-09-14 21:33:56 +00:00
parent 869944fc68
commit ed21c8071f
1 changed files with 1 additions and 7 deletions

View File

@ -363,19 +363,13 @@ poijobs.each { poijob ->
steps {
shellEx(delegate, shellcmds, poijob)
// this is a workaround until the Gradle build can do this compilation before invoking any
// Ant script or when building via Ant is removed completely
ant {
targets(['init'] + (poijob.properties ?: []))
antInstallation(antRT)
}
gradle {
switches('-PenableSonar')
switches('-Dsonar.login=${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')