我在黄瓜选项中使用了此代码(plugin = {“pretty”,“json:target / cucumber.json”,“html:target / CucumberTestReport.html”}) 我想要一份像 Jenkins html 报告这样的报告
首先在你的jenkins上安装publish html然后使用它:
publishHTML( target:[
allowMissing: false,
alwaysLinkToLastBuild: true,
keepAll: true,
reportDir: 'your dir',
reportFiles: '*.html',
reportName: 'HTMLReport',
reportTitles: 'reportTitle']
)