1.在生成测试报告时,因为Jenkins自带的只有Junit的测试报告,不会显示testng的。

Jenkins结合testng注意事项

2.要想显示Publish TestNG Results这一项,首先需要在jenkins的首页-系统管理-管理插件-可用插件中搜索:TestNG Results Plugin,并安装。

3.安装成功后重启Jenkins,即可以用了。

4.然后在构建后操作里,选择Publish TestNG Results,填写**/testng-results.xml

Jenkins结合testng注意事项

5.其他与构建Junit的一致。

   参考:http://www.cnblogs.com/Jourly/p/6892557.html

 

相关文章:

  • 2021-08-02
  • 2021-09-05
  • 2021-09-21
  • 2022-12-23
  • 2021-11-11
  • 2022-12-23
  • 2021-10-24
猜你喜欢
  • 2021-07-13
  • 2021-07-19
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-08-14
相关资源
相似解决方案