From: Dominik Stadler Date: Tue, 6 Dec 2016 15:14:50 +0000 (+0000) Subject: Jenkins DSL: Gradle: Try to touch the test-results-files as Gradle will not execute... X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f42d14242f22a33c4abe0d5bd00450880b3d7fb9;p=poi.git Jenkins DSL: Gradle: Try to touch the test-results-files as Gradle will not execute the tests again if not needed git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772904 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 1da99c7a96..a8346b836b 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -213,6 +213,8 @@ Apache POI - the Java API for Microsoft Documents shell(shellcmds) // 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 + shell("touch --no-create build/*/build/test-results/test/TEST-*.xml") gradle { tasks('check') useWrapper(false)