如果黄瓜方案的通过率是80%,如何使jenkins生成通过 [英] How to make jenkins build pass if cucumber scenarios pass percentage is 80%

查看:113
本文介绍了如果黄瓜方案的通过率是80%,如何使jenkins生成通过的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果黄瓜JVM方案的通过率是80%,如何使jenkins构建通过?

How to make jenkins build pass if cucumber JVM scenarios pass percentage is 80%

推荐答案

黄瓜报告插件可用于此目的. 该插件有很多选项,可将构建标记为失败或不稳定.

The cucumber reports plugin can be used for this. The plugin has a lot of options where the build is marked as failure or unstable.

例如:

failedScenariosPercentage(可选)

failedScenariosPercentage (optional)

失败方案的最大百分比,高于该百分比的构建结果为 改变了.

Maximum percentage of failed scenarios above which build result is changed.

这篇关于如果黄瓜方案的通过率是80%,如何使jenkins生成通过的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆