jenkins+postman集成问题:Build step ‘Execute Windows batch command‘ marked build as failure

环境:

windows系统 + jdk 11 + Jenkins  2.366 

问题:

通过在jenkins上集成postman用例,生成报告,报错  Build step 'Execute Windows batch command' marked build as failure

如图:

jenkins+postman集成问题:Build step ‘Execute Windows batch command‘ marked build as failure_第1张图片 

解决方法:

在要执行的窗口命令前加入 call,进行调用,然后再执行exit()

jenkins+postman集成问题:Build step ‘Execute Windows batch command‘ marked build as failure_第2张图片

 

借鉴文章:

jenkins报“”Build step 'Execute Windows batch command' marked build as failure“”_测试小兵的我的博客-CSDN博客

你可能感兴趣的:(jenkins,持续集成,postman)