From: Timo Heister Date: Sat, 9 Feb 2019 17:48:12 +0000 (-0700) Subject: [CI]: expose tests in Jenkins X-Git-Tag: v9.1.0-rc1~340^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=583b5acc874e6e36b591801c508828f82c8d269b;p=dealii.git [CI]: expose tests in Jenkins --- diff --git a/Jenkinsfile b/Jenkinsfile index 9e3e48848f..e6f70559f4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -76,7 +76,15 @@ pipeline image 'tjhei/candi:v9.0.1-r4' } } - post { cleanup { cleanWs() } } + post { + always { + sh "cp /home/dealii/build/Testing/*/*.xml $WORKSPACE/serial.xml || true" + xunit tools: [CTest(pattern: '*.xml')] + } + cleanup { + cleanWs() + } + } steps { @@ -97,7 +105,7 @@ pipeline $WORKSPACE/ time ninja -j $NP time ninja setup_tests - time ctest --output-on-failure -DDESCRIPTION="CI-$JOB_NAME" -j $NP + time ctest --output-on-failure -DDESCRIPTION="CI-$JOB_NAME" -j $NP --no-compress-output -T test ''' } } @@ -113,7 +121,15 @@ pipeline image 'tjhei/candi:v9.0.1-r4' } } - post { cleanup { cleanWs() } } + post { + always { + sh "cp /home/dealii/build/Testing/*/*.xml $WORKSPACE/mpi.xml || true" + xunit tools: [CTest(pattern: '*.xml')] + } + cleanup { + cleanWs() + } + } steps { @@ -132,10 +148,11 @@ pipeline $WORKSPACE/ time ninja -j $NP time ninja setup_tests - time ctest -R "all-headers|multigrid/transfer" --output-on-failure -DDESCRIPTION="CI-$JOB_NAME" -j $NP + time ctest -R "all-headers|multigrid/transfer" --output-on-failure -DDESCRIPTION="CI-$JOB_NAME" -j $NP --no-compress-output -T test ''' } } + } }