]> source.dussan.org Git - poi.git/commitdiff
clean-up old build results before sonarqube build
authorAndreas Beeker <kiwiwings@apache.org>
Tue, 14 Sep 2021 21:33:56 +0000 (21:33 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Tue, 14 Sep 2021 21:33:56 +0000 (21:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893344 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index b80b0d00c60b5cad67d91beba5a8ee5a61b30723..80fd550477e2ddfa026f630f89802640e16bfdaf 100644 (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')