Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当构建失败时设置警报很容易(Status = Failed),但我也希望能够在构建修复时获得警报。(即,“失败”构建后第一个“成功”的警报。)
Status = Failed
我怎样才能做到这一点?
您需要创建一个插件或 Web 服务来记录给定构建定义的最后已知状态,然后当它接收到从坏到好的当前状态转换时发送一封电子邮件,说明构建已修复。