diff options
author | Dominik Stadler <centic@apache.org> | 2016-12-06 15:14:50 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2016-12-06 15:14:50 +0000 |
commit | 60e66b810f6cb25a77fb885e67edb79fdb0ce243 (patch) | |
tree | 67caa967a73c1a300c7c0f238945f784f84ad8a1 /jenkins/create_jobs.groovy | |
parent | 9ab452827a17de0240170f15baaf1fe96f19a4b0 (diff) | |
download | poi-60e66b810f6cb25a77fb885e67edb79fdb0ce243.tar.gz poi-60e66b810f6cb25a77fb885e67edb79fdb0ce243.zip |
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
Diffstat (limited to 'jenkins/create_jobs.groovy')
-rw-r--r-- | jenkins/create_jobs.groovy | 2 |
1 files changed, 2 insertions, 0 deletions
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) |