Skip to content
Snippets Groups Projects
Commit 825bf91e authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

added missing escape character

parent 5d28512f
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ def doBuild(String label, String buildType) {
SUBDIR="${env.RUN_FROM_SUBDIR}"
fi
for VAR in \${JOB_VARIABLES}; do
export ${VAR}
export \${VAR}
done
sudo -H -u msk_jenkins cmake /scratch/source/\${SUBDIR} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${buildType} -DSUPPRESS_AUTO_DOC_BUILD=true \${CMAKE_EXTRA_ARGS}
sudo -H -u msk_jenkins make ${env.MAKEOPTS}
......@@ -195,7 +195,7 @@ def doTest(String label, String buildType) {
CTESTOPTS="${env.MAKEOPTS}"
fi
for VAR in \${JOB_VARIABLES} \${TEST_VARIABLES}; do
export ${VAR}
export \${VAR}
done
sudo -H -u msk_jenkins ctest --no-compress-output \${CTESTOPTS} -T Test -V || true
sudo -H -u msk_jenkins sed -i Testing/*/Test.xml -e 's_\\(^[[:space:]]*<Name>\\)\\(.*\\)\\(</Name>\\)\$_\\1${label}.${buildType}.\\2\\3_'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment