mirror of https://github.com/apache/poi.git
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:
parent
869944fc68
commit
ed21c8071f
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue