我有Postman系列。我正在使用下面的窗口批处理脚本通过jenkins运行它
C:/Users/user/AppData/Roaming/npm/newman" run "C:/postmancollections/07072021/Test-Collection.postman_collection.json" -r cli,htmlextra --disable-unicode --reporter-htmlextra-export ein-test-suite-report.html --reporter-htmlextra-title "Report Test Summary"
我的工作区位置是C:\CustomWorkspace
在发布html报告中,我提供了索引页面名称为ein-test-suite-report.html
我能够看到html额外的报告在customworkspace位置正确生成,名称为ein-test-suite-report.html
但在jenkins中,html报告不是html报告,其类型为普通报告,如下所附截图
在Cusm Workspace文件夹中,我可以看到如下的html报告。我期待着我们能在詹金斯上看到同样的东西
请使用jaiman,内部使用newman和htmlextra
https://www.npmjs.com/package/jaiman