将本地 TFS 与 Slack 集成

Integrate TFS on-premise with Slack

问题


有没有办法将我在 TFS On-Premise (2013) 上的构建与 Slack 集成?

如果是,执行步骤是什么?

例子


例如,当构建失败时,我想在 Slack 的频道上自动获取消息。

备注


我已经设置了一个 Slack 频道并为其配备了 WebHook URL。还向 Slack 组集成设置中的应用程序添加了 Visual Studio 团队服务。

尝试使用 TfsNotificationRelay 扩展名。

TfsNotificationRelay is an extensible plugin for Team Foundation Server that sends notifications to Slack, HipChat and IRC.

Supported Events

  • XAML Build completion
  • vNext Build completion*
  • Build quality change
  • Work item update
  • Team project creation/deletion
  • Release creation*
  • Release deployment*
  • Git
  • TFVC *TFS 2015 only