publish html report报错:This is especially strange since your build otherwise succeeded

jenkins配置publish html report显示HTML测试报告报错:

[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /home/jenkins/workspace/***/test-output to /var/jenkins_home/jobs//***/builds/60/htmlreports/HTML_20Report
ERROR: Directory '/home/jenkins/workspace//***/test-output' exists but failed copying to '/var/jenkins_home/jobs//***/builds/60/htmlreports/HTML_20Report'.
ERROR: This is especially strange since your build otherwise succeeded.
Build step 'Publish HTML reports' changed build result to FAILURE
perform:构建结果FAILURE,发送策略:ALL
Finished: FAILURE

日志显示:生成HTML报告时,出现异常,才导致报错

开发Jenkins插件的时候, maven install报错:
Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce (display-info) on project QaJenkinsPlugin: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]

原因:maven没有配置,使用idea自带的3.0.5的版本,后续改成3.3.9版本后修复

转载于:https://www.cnblogs.com/zjxyz2008zhangjuan/p/9680778.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值