如果黄瓜方案的通过率是80%,如何使jenkins生成通过

如果黄瓜方案的通过率是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.