且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

当 Selenium 测试失败时,使 Jenkins 构建失败

更新时间:2023-02-16 20:17:12

junit 任务上,使用 failureproperty 属性.然后使用 unless 属性调用 fail 任务.

On the junit task, use the failureproperty attribute. And then call the fail task with an unless attribute.

进一步阅读: