如何使用Jenkins Pipeline插件实施Post-Build阶段? [英] How to implement Post-Build stage using Jenkins Pipeline plug-in?

查看:1289
本文介绍了如何使用Jenkins Pipeline插件实施Post-Build阶段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在阅读了詹金斯的教程之后,解释了

After reading Jenkins tutorial explaining Pipeline plug-in, it seems that plug-in should make it possible to implement Post-Build steps. However documentation is rather limited in regard to specific instructions.

例如,我想知道如何实现:

For example I wonder how to implement:

  • 仅在构建成功的情况下运行
  • 仅在构建成功或不稳定的情况下运行
  • 不管构建结果如何运行
  • Run only if build succeeds
  • Run only if build succeeds or is unstable
  • Run regardless of build result

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