You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2021/08/20 20:53:13 UTC
svn commit: r1892481 - /poi/trunk/jenkins/create_jobs.groovy
Author: kiwiwings
Date: Fri Aug 20 20:53:13 2021
New Revision: 1892481
URL: http://svn.apache.org/viewvc?rev=1892481&view=rev
Log:
use gradle for windows builds
Modified:
poi/trunk/jenkins/create_jobs.groovy
Modified: poi/trunk/jenkins/create_jobs.groovy
URL: http://svn.apache.org/viewvc/poi/trunk/jenkins/create_jobs.groovy?rev=1892481&r1=1892480&r2=1892481&view=diff
==============================================================================
--- poi/trunk/jenkins/create_jobs.groovy (original)
+++ poi/trunk/jenkins/create_jobs.groovy Fri Aug 20 20:53:13 2021
@@ -437,15 +437,10 @@ poijobs.each { poijob ->
}
// For Jobs that should still have the default set of publishers we can configure different steps here
if(poijob.gradle) {
- // Gradle will not run any tests if the code is up-to-date, therefore manually mark the files as updated
- shellEx(delegate, 'touch --no-create build/*/build/test-results/TEST-*.xml build/*/build/test-results/test/TEST-*.xml', 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)
- //}
+ if (!poijob.windows) {
+ // Gradle will not run any tests if the code is up-to-date, therefore manually mark the files as updated
+ shellEx(delegate, 'touch --no-create build/*/build/test-results/TEST-*.xml build/*/build/test-results/test/TEST-*.xml', poijob)
+ }
gradle {
tasks('clean jenkins')
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org