我想在项目主页中的 Jenkins 中创建 html 报告,但是我设置的路径应该指向报告所在的位置,Jenkins 告诉我它不存在。
有人能告诉我具体怎么写吗?
我写的路径是:
/var/lib/jenkins/workspace/job/app-offerhop/job/job/applications/job/e2e_test/ws/e2e/report/output/report/
完成执行时出现的消息是:
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level /var/lib/jenkins/workspace/job/app-offerhop-job/job/applications/job/e2e_test/ws/e2e/report/output/report to /var/lib/jenkins/jobs/app-offerhop-job/jobs/applications/jobs/e2e_test/htmlreports/HTML_Report
ERROR: Specified HTML directory '/var/lib/jenkins/workspace/job/app-offerhop-job/job/applications/job/e2e_test/ws/e2e/report/output/report' does not exist.
Build step 'Publish HTML reports' changed build result to FAILURE
完成:失败提前谢谢你。