jenkins: publish results earlier (#29442)
This commit is contained in:
parent
3fe0a9f826
commit
849155f495
|
@ -7,6 +7,20 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
sh './jenkins.sh'
|
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') {
|
stage('Packaging') {
|
||||||
steps {
|
steps {
|
||||||
|
@ -23,14 +37,7 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
utils = new Utils()
|
utils = new Utils()
|
||||||
utils.mail_notify(currentBuild, env, 'admin+jenkins-authentic@entrouvert.com')
|
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 {
|
success {
|
||||||
cleanWs()
|
cleanWs()
|
||||||
|
|
Loading…
Reference in New Issue