aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2021-08-20 20:53:13 +0000
committerAndreas Beeker <kiwiwings@apache.org>2021-08-20 20:53:13 +0000
commit41f2ab056f7215407d414f2e1a272e4e304de051 (patch)
treeba3bbcdb11004b6c541b024eb8a9f03612989461 /jenkins
parent15688289fe148c587dbf913cebbe7f06a684da26 (diff)
downloadpoi-41f2ab056f7215407d414f2e1a272e4e304de051.tar.gz
poi-41f2ab056f7215407d414f2e1a272e4e304de051.zip
use gradle for windows builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892481 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy13
1 files changed, 4 insertions, 9 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 1c89a304d3..61770bf702 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -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')