环境:
windows系统 + jdk 11 + Jenkins 2.366
问题:
通过在jenkins上集成postman用例,生成报告,报错 Build step 'Execute Windows batch command' marked build as failure
如图:
解决方法:
在要执行的窗口命令前加入 call,进行调用,然后再执行exit()
借鉴文章:
jenkins报“”Build step 'Execute Windows batch command' marked build as failure“”_测试小兵的我的博客-CSDN博客