jenkins: publish results earlier

This commit is contained in:
Frédéric Péters 2019-02-12 19:59:57 +01:00
parent 5793a44733
commit 7a2a7215fb
1 changed files with 11 additions and 4 deletions

15
Jenkinsfile vendored
View File

@ -7,6 +7,17 @@ pipeline {
steps {
sh 'tox -rv'
}
post {
always {
script {
utils = new Utils()
utils.publish_coverage('coverage.xml')
utils.publish_coverage_native('index.html')
utils.publish_pylint('pylint.out')
}
junit '*_results.xml'
}
}
}
stage('Packaging') {
steps {
@ -23,11 +34,7 @@ pipeline {
script {
utils = new Utils()
utils.mail_notify(currentBuild, env, 'admin+jenkins-passerelle@entrouvert.com')
utils.publish_coverage('coverage.xml')
utils.publish_coverage_native('index.html')
utils.publish_pylint('pylint.out')
}
junit '*_results.xml'
}
success {
cleanWs()