jenkins: publish coverage data after tests step (#48694)
gitea/eopayment/pipeline/head Build started...
Details
gitea/eopayment/pipeline/head Build started...
Details
This commit is contained in:
parent
52b90ec5c9
commit
8dcae040e6
|
@ -7,6 +7,16 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
sh 'tox -rv'
|
sh 'tox -rv'
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
script {
|
||||||
|
utils = new Utils()
|
||||||
|
utils.publish_coverage('coverage.xml')
|
||||||
|
utils.publish_coverage_native('index.html')
|
||||||
|
}
|
||||||
|
mergeJunitResults()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
stage('Packaging') {
|
stage('Packaging') {
|
||||||
steps {
|
steps {
|
||||||
|
@ -25,10 +35,7 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
utils = new Utils()
|
utils = new Utils()
|
||||||
utils.mail_notify(currentBuild, env, 'ci+jenkins-eopayment@entrouvert.org')
|
utils.mail_notify(currentBuild, env, 'ci+jenkins-eopayment@entrouvert.org')
|
||||||
utils.publish_coverage('coverage.xml')
|
|
||||||
utils.publish_coverage_native('index.html')
|
|
||||||
}
|
}
|
||||||
mergeJunitResults()
|
|
||||||
}
|
}
|
||||||
success {
|
success {
|
||||||
cleanWs()
|
cleanWs()
|
||||||
|
|
Loading…
Reference in New Issue