【问题标题】:Making failed build unstable Jenkins使失败的构建不稳定的詹金斯
【发布时间】:2015-02-13 15:41:57
【问题描述】:

在 Jenkins 工作中,我偶尔会因环境问题而失败。在这些情况下,我宁愿构建不稳定的构建然后“失败”(它对整个 CI 有很大影响)。

如何在构建后缓解构建结果? 我已经尝试过 groovy postbuild :
manager.buildUnstable()
但它没有用......

【问题讨论】:

    标签: groovy jenkins continuous-integration hudson


    【解决方案1】:

    使用 Text Finder plugin。寻找适合您情况的迹象(如果需要,打印一条短信),然后配置插件以在喜欢时将构建标记为UNSTABLE

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-07-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-08-03
      • 2018-10-31
      • 1970-01-01
      相关资源
      最近更新 更多