Re-order post testing steps

This commit is contained in:
Jamie Curnow 2020-03-06 13:11:04 +10:00
parent e2c4b32311
commit 3ddd3b49fd

8
Jenkinsfile vendored
View File

@ -93,14 +93,14 @@ pipeline {
}
post {
always {
junit 'test/results/junit/*'
// Dumps to analyze later
sh 'mkdir -p debug'
sh 'docker-compose logs fullstack | gzip > debug/docker_fullstack.log.gz'
// Cypress videos and screenshot artifacts
dir(path: 'test/results') {
archiveArtifacts allowEmptyArchive: true, artifacts: '**/*', excludes: '**/*.xml'
}
// Dumps to analyze later
sh 'mkdir -p debug'
sh 'docker-compose logs fullstack | gzip > debug/docker_fullstack.log.gz'
junit 'test/results/junit/*'
}
}
}