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}')
}
// For Jobs that should still have the default set of publishers we can configure different steps here
if(poijob.gradle) {
+ // 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 {
tasks('check')
useWrapper(true)