]> source.dussan.org Git - poi.git/commitdiff
Jenkins DSL: Gradle: Try to touch the test-results-files as Gradle will not execute...
authorDominik Stadler <centic@apache.org>
Tue, 6 Dec 2016 15:14:50 +0000 (15:14 +0000)
committerDominik Stadler <centic@apache.org>
Tue, 6 Dec 2016 15:14:50 +0000 (15:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772904 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index 1da99c7a9614773996d6a7b2eb669d65b90a8aff..a8346b836b565e8d032212c1bdc889ef803a9fdf 100644 (file)
@@ -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)