diff --git a/Jenkinsfile b/Jenkinsfile index fb048a4..fd42f72 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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()