From e498ea31acbe8ccafec914ffd7dbbbad9956c29b Mon Sep 17 00:00:00 2001
From: Martin Hierholzer <martin.hierholzer@desy.de>
Date: Mon, 29 Oct 2018 15:46:05 +0100
Subject: [PATCH] fixed output path of valgrind xml files

---
 vars/helper.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/helper.groovy b/vars/helper.groovy
index 7a72cf6..5b3c889 100644
--- a/vars/helper.groovy
+++ b/vars/helper.groovy
@@ -260,8 +260,8 @@ def doValgrind(String label, String buildType) {
       for test in ${EXECLIST} ; do
         testname=`basename ${test}`
         if [ -z "`echo " ${valgrindExcludes} " | grep " ${testname} "`" ]; then
-          sudo -u msk_jenkins valgrind --gen-suppressions=all --trace-children=yes --tool=memcheck --leak-check=full --undef-value-errors=yes --xml=yes --xml-file=valgrind.${testname}.memcheck.valgrind ${test}
-          # sudo -u msk_jenkins valgrind --gen-suppressions=all --trace-children=yes --tool=helgrind --xml=yes --xml-file=valgrind.${testname}.helgrind.valgrind ${test}
+          sudo -u msk_jenkins valgrind --gen-suppressions=all --trace-children=yes --tool=memcheck --leak-check=full --undef-value-errors=yes --xml=yes --xml-file=/scratch/build/valgrind.${testname}.memcheck.valgrind ${test}
+          # sudo -u msk_jenkins valgrind --gen-suppressions=all --trace-children=yes --tool=helgrind --xml=yes --xml-file=/scratch/build/valgrind.${testname}.helgrind.valgrind ${test}
         fi
       done
       cd /scratch/build
-- 
GitLab