Use Publish HTML in CI

This commit is contained in:
Jamie Curnow
2023-07-27 14:25:04 +10:00
parent 1e0baa3911
commit 43d989474e
2 changed files with 13 additions and 4 deletions

10
Jenkinsfile vendored
View File

@ -84,8 +84,16 @@ pipeline {
}
post {
success {
archiveArtifacts allowEmptyArchive: false, artifacts: 'coverage.html'
archiveArtifacts allowEmptyArchive: false, artifacts: 'bin/*'
publishHTML([
allowMissing: false,
alwaysLinkToLastBuild: true,
keepAll: false,
reportDir: 'backend-coverage',
reportFiles: 'index.html',
reportName: 'Backend Coverage',
useWrapperFileDirectly: true
])
}
}
}