jenkins吧 关注:778贴子:1,987
  • 9回复贴,共1

求解!!!求大佬!!!exists but failed copying to

只看楼主收藏回复

执行自动化的时候,生成html报告时,报错!查了资料没有解决方法,求问各位大神,如何解决~!!跪谢~~!!
[htmlpublisher] Archiving HTML reports...[htmlpublisher] Archiving at PROJECT level E:\apache-tomcat-9.0.19\webapps\Jenkins\workspace\PAT\htmlreports to E:\apache-tomcat-9.0.19\webapps\Jenkins\jobs\PAT\htmlreports\HTML_20ReportERROR: Directory 'E:\apache-tomcat-9.0.19\webapps\Jenkins\workspace\PAT\htmlreports' exists but failed copying to 'E:\apache-tomcat-9.0.19\webapps\Jenkins\jobs\PAT\htmlreports\HTML_20Report'.ERROR: This is especially strange since your build otherwise succeeded.Build step 'Publish HTML reports' changed build result to FAILUREFinished: FAILURE


IP属地:北京1楼2019-04-25 18:12回复
    大佬们 有解决过得么~?SOS江湖救急


    IP属地:北京2楼2019-04-26 17:34
    收起回复
      这是什么插件?我也没用过


      IP属地:上海来自iPhone客户端3楼2019-06-06 19:00
      回复
        我也遇到这个问题了,解决办法是在htmlreports下手动创建report-html.html,再次构建就不报错了
        [root@ipha-dev71-1 htmlreports]# touch report-html.html


        IP属地:浙江4楼2019-08-11 14:44
        收起回复
          项目配置--build--Goals and options属性填上参数clean compile install试试,我的是漏加这个,加上就好了


          5楼2021-08-20 11:55
          回复
            我今天也遇到了,检查后发现是构建时自动化测试没执行成功,导致没有报告产生


            IP属地:辽宁6楼2023-05-09 11:21
            回复