From ed21c8071f148e62ffe89c493aeb64dabfdb6100 Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Tue, 14 Sep 2021 21:33:56 +0000 Subject: 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 --- jenkins/create_jobs.groovy | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'jenkins/create_jobs.groovy') diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index b80b0d00c6..80fd550477 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -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') -- cgit v1.2.3