From 60e66b810f6cb25a77fb885e67edb79fdb0ce243 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Tue, 6 Dec 2016 15:14:50 +0000 Subject: [PATCH] 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 --- jenkins/create_jobs.groovy | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.5