Fix JUnit
authorBen Gamari <ben@smart-cactus.org>
Fri, 28 Jul 2017 23:06:29 +0000 (19:06 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 18 Aug 2017 03:49:51 +0000 (23:49 -0400)
Jenkinsfile

index ee6a884..23b6ced 100644 (file)
@@ -302,8 +302,8 @@ def testGhc(params) {
       if (params.nightly) {
         target = 'slowtest'
       }
-      sh "${makeCmd} -Ctestsuite/tests LOCAL=0 BINDIST=YES THREADS=${env.THREADS} TEST_HC=\"${testGhc}\" ${target}"
-      junit 'testsuite*.xml'
+      sh "${makeCmd} -Ctestsuite/tests LOCAL=0 BINDIST=YES THREADS=${env.THREADS} TEST_HC=\"${testGhc}\" JUNIT_FILE=testsuite.xml ${target}"
+      junit 'testsuite.xml'
     }
   }
 }