【发布时间】:2019-02-14 22:12:05
【问题描述】:
我当前的 Jenkins 运行多个构建。每个构建/运行都会创建自己的 testng-results.xml (target/surefire-reports/testng-results.xml)
我检查了 Jenkins 作业主页上提供的 HTML 报告的结果(它将仅显示最新构建/运行的报告)。
我如何从相应的 testng-results.xml 中获取先前构建的报告,因为我想通过从 testng-results.xml 中提取它们来转储每个构建的报告链接
我在 testng-results.xml 中找不到任何指向该运行/构建的相应测试报告所在路径/位置的条目。
无论如何要得到这个?
【问题讨论】:
-
您在使用 HTML Report Publisher 吗?如果是,那么有一个设置应该覆盖现有报告或保留每个版本。
标签: selenium jenkins testng maven-surefire-plugin