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 {
|
||||
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()
|
||||
|
|
Loading…
Reference in New Issue