From 4af5953a4c7adfdff6d08587cf9d877aba45a15a Mon Sep 17 00:00:00 2001
From: Martin Hierholzer <martin.hierholzer@desy.de>
Date: Mon, 19 Nov 2018 16:26:57 +0100
Subject: [PATCH] switch on verbose mode of ctest to help debugging

---
 vars/helper.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/helper.groovy b/vars/helper.groovy
index ec232e2..50adb47 100644
--- a/vars/helper.groovy
+++ b/vars/helper.groovy
@@ -170,7 +170,7 @@ def doTest(String label, String buildType) {
   // Copy test results files to the workspace, otherwise they are not available to the xunit plugin
   sh """
     cd /scratch/build-${JOB_NAME}
-    sudo -u msk_jenkins ctest --no-compress-output $MAKEOPTS -T Test || true
+    sudo -u msk_jenkins ctest --no-compress-output $MAKEOPTS -T Test -V || true
     sudo -u msk_jenkins sed -i Testing/*/Test.xml -e 's_\\(^[[:space:]]*<Name>\\)\\(.*\\)\\(</Name>\\)\$_\\1${label}.${buildType}.\\2\\3_'
     sudo -u msk_jenkins cp -r /scratch/build-${JOB_NAME}/Testing "${WORKSPACE}"
   """
-- 
GitLab