jenkins: publish results earlier (#29442)
This commit is contained in:
parent
3fe0a9f826
commit
849155f495
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue