jenkinsfile: reformat publish html part
This commit is contained in:
parent
2a9802f132
commit
9b35224a00
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue