参考该文章
https://www.cnblogs.com/autobyme/p/8387407.html
遇到问题:
ERROR: Directory 'D:\data\jenkins\htmlreport' exists but failed copying to 'C:\Users\PC\.jenkins\jobs\jmeter_test\builds\8\htmlreports\HTML_20Report'. ERROR: This is especially strange since your build otherwise succeeded. Build step 'Publish HTML reports' changed build result to FAILURE
原因是:该文章中最后配置Public HTML reports地址的时候,注意地址要相同
解决方案:和build.xml中配置的报告地址必须要一样