jenkins: publish coverage data after tests step (#48694)
gitea/eopayment/pipeline/head Build started... Details

This commit is contained in:
Frédéric Péters 2020-11-19 19:28:22 +01:00
parent 52b90ec5c9
commit 8dcae040e6
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')
}
mergeJunitResults()
}
}
}
stage('Packaging') {
steps {
@ -25,10 +35,7 @@ pipeline {
script {
utils = new Utils()
utils.mail_notify(currentBuild, env, 'ci+jenkins-eopayment@entrouvert.org')
utils.publish_coverage('coverage.xml')
utils.publish_coverage_native('index.html')
}
mergeJunitResults()
}
success {
cleanWs()