jenkins: publish results earlier (#27401)

This commit is contained in:
Frédéric Péters 2019-04-08 18:17:41 +02:00
parent f4d0ab6b09
commit 0e94002b03
1 changed files with 10 additions and 3 deletions

13
Jenkinsfile vendored
View File

@ -7,6 +7,16 @@ pipeline {
steps {
sh 'tox -rv'
}
post {
always {
script {
utils = new Utils()
utils.publish_coverage('coverage.xml')
utils.publish_coverage_native('index.html')
}
junit '*_results.xml'
}
}
}
stage('Packaging') {
steps {
@ -23,10 +33,7 @@ pipeline {
script {
utils = new Utils()
utils.mail_notify(currentBuild, env, 'admin+jenkins-bijoe@entrouvert.com')
utils.publish_coverage('coverage.xml')
utils.publish_coverage_native('index.html')
}
junit '*_results.xml'
}
success {
cleanWs()