自動生產html報告
方法一、jenkins安裝HTML Publisher plugin插件,添加構建后操作
方法二、安裝NPM
1、cmd輸入命令:npm install -g newman-reporter-html 下載安裝npm
2、jenkins構建命令
c:
cd C:\Users\weihua\AppData\Roaming\npm newman run F:\dlcs.postman.json -e F:\gw.postman_environment.json -r html --reporter-html-export F:\dlcs.postman.html(導出文件的路徑)