always {
sh "cp /home/dealii/build/Testing/*/*.xml $WORKSPACE/serial.xml || true"
xunit tools: [CTest(pattern: '*.xml')]
+ sh "cp /home/dealii/build/detailed.log $WORKSPACE/detailed-serial.log || true"
+ archiveArtifacts artifacts: 'detailed-serial.log', fingerprint: true
}
cleanup {
sh '''#!/bin/bash
export NP=`grep -c ^processor /proc/cpuinfo`
export TEST_TIME_LIMIT=1200
- echo $NP
mkdir -p /home/dealii/build
cd /home/dealii/build
cmake -G "Ninja" \
always {
sh "cp /home/dealii/build/Testing/*/*.xml $WORKSPACE/mpi.xml || true"
xunit tools: [CTest(pattern: '*.xml')]
+ sh "cp /home/dealii/build/detailed.log $WORKSPACE/detailed-mpi.log || true"
+ archiveArtifacts artifacts: 'detailed-mpi.log', fingerprint: true
}
cleanup {
post
{
+ always
+ {
+ archiveArtifacts artifacts: '$WORKSPACE/build/detailed.log', fingerprint: true
+ }
failure
{
githubNotify context: 'OSX', description: 'build failed', status: 'FAILURE'