jenkins: publish results earlier

This commit is contained in:
Frédéric Péters 2019-02-22 14:13:27 +01:00
parent 8b5c52466f
commit 98a98bf72a
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()
}
junit '*_results.xml'
}
}
}
stage('Packaging') {
steps {
@ -23,10 +33,7 @@ pipeline {
script {
utils = new Utils()
utils.mail_notify(currentBuild, env, 'admin+jenkins-wcs-olap@entrouvert.com')
utils.publish_coverage('coverage.xml')
utils.publish_coverage_native()
}
junit 'junit.xml'
}
success {
cleanWs()