jenkinsfile: reformat publish html part

This commit is contained in:
Frédéric Péters 2018-04-25 23:14:27 +02:00
parent 2a9802f132
commit 9b35224a00
1 changed files with 9 additions and 1 deletions

10
Jenkinsfile vendored
View File

@ -31,7 +31,15 @@ pipeline {
post {
always {
junit 'test_results.xml'
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'htmlcov', reportFiles: 'index.html', reportName: 'Coverage Report', reportTitles: ''])
publishHTML target : [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: false,
reportDir: 'htmlcov',
reportFiles: 'index.html',
reportName: 'Coverage Report',
reportTitles: ''
]
script {
utils = new Utils()
utils.publish_cobertura_report('**/coverage.xml')