1.Jenkins安裝插件spa
TestNG Results Plugin插件
2. 添加配置3d
「構建後操做」->「Publish TestNG Results」blog
保持默認配置便可get
3.查看報告io
項目構建後查看報告test
http://10.15.1.28:8090/job/%E9%97%AA%E7%94%B5%E8%B4%B7%E8%87%AA%E5%8A%A8%E5%8C%96%E6%B5%8B%E8%AF%95%E5%B7%A5%E7%A8%8B%E7%9B%AE%E5%BD%95/job/frame_test/7/testngreports/配置
$JOB_URL/$BUILD_NUMBER/testngreports/grep