HTML报告链接未出现在仪表板中

时间:2019-10-18 17:54:55

标签: jenkins jenkins-pipeline jenkins-plugins html-reports-jenkins

enter image description here我有一个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: ''
                ])
            }

0 个答案:

没有答案