使失败的构建不稳定詹金斯

时间:2015-02-13 15:41:57

标签: groovy jenkins continuous-integration hudson

在詹金斯的工作中,我偶尔会因环境问题而遭遇虚假失败。在那些情况下,我宁愿得到不稳定的构建然后“失败”(它对整个CI有很大的影响)。

如何在构建后缓解构建结果? 我试过groovy postbuild:
manager.buildUnstable()
但它不起作用......

1 个答案:

答案 0 :(得分:0)

使用 Text Finder plugin 。查找符合条件的告示标记(如果需要,打印文本消息),然后配置插件以便在喜欢时将构建标记为UNSTABLE

相关问题