我有一个HTM1报告,需要从Jenkins仪表板查看。不过,报告已成功存档,如控制台输出所示。我的脚本如下:
post {
always {
archiveArtifacts '**/target/*.tar.gz'
publishHTML([allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: false,
reportDir: 'target',
reportFiles: 'dependency-check-report.html',
reportName: 'OWASP Dependency Check Report',
reportTitles: ''
])
}