使用章鱼部署挂钩 cancel/abort 事件

Hooking into cancel/abort event with octopus deploy

目前我们有一个 hipchat 通知步骤作为我们流程的一部分,它让我们知道发布是否失败。有什么方法可以检测部署是否 cancelled/aborted 以便我们可以显示相关通知?

谢谢大卫。

  • 有人会在 运行 之前 cancel/deploy 安排部署吗?
  • 或者是人工干预的部署,有人会阻止它
  • 您的 send notification 步是否计划到 run always

经过一番搜索,发现可以选择 subscribe to audit events,它是从 3.5 版添加到 OD 中的,对于这种情况来说可能是相当重要的。