diff --git a/Jenkinsfile b/Jenkinsfile index 2dd5451bb..9ea165647 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,6 +7,20 @@ pipeline { steps { sh './jenkins.sh' } + post { + always { + script { + utils = new Utils() + utils.publish_coverage('coverage-*.xml') + utils.publish_coverage_native( + 'index.html', 'htmlcov-coverage-dj18-authentic-pg', 'Coverage a2') + utils.publish_coverage_native( + 'index.html', 'htmlcov-coverage-dj18-rbac-pg', , 'Coverage rbac') + utils.publish_pylint('pylint.out') + } + junit 'junit-*.xml' + } + } } stage('Packaging') { steps { @@ -23,14 +37,7 @@ pipeline { script { utils = new Utils() utils.mail_notify(currentBuild, env, 'admin+jenkins-authentic@entrouvert.com') - utils.publish_coverage('coverage-*.xml') - utils.publish_coverage_native( - 'index.html', 'htmlcov-coverage-dj18-authentic-pg', 'Coverage a2') - utils.publish_coverage_native( - 'index.html', 'htmlcov-coverage-dj18-rbac-pg', , 'Coverage rbac') - utils.publish_pylint('pylint.out') } - junit 'junit-*.xml' } success { cleanWs()