【发布时间】:2023-03-08 04:52:01
【问题描述】:
是否可以在一个项目中为不同的构建定义设置不同的警报?即我只想发送警报仅用于构建而不是用于 CI 构建?非常感谢
【问题讨论】:
标签: tfs build-automation tfsbuild tfs-alerts
是否可以在一个项目中为不同的构建定义设置不同的警报?即我只想发送警报仅用于构建而不是用于 CI 构建?非常感谢
【问题讨论】:
标签: tfs build-automation tfsbuild tfs-alerts
我会创建一个警报并添加属性“StartTime”,将开始时间作为夜间构建开始时间。我根本没有使用过这个属性,也不知道格式,也找不到任何关于它的文档。你可以随便玩弄它,很容易找到。
过滤器表达式类似于 ""TeamProject" = 'ABC' AND "DefinitionPath" = '\ABC\Test_new' AND ("StatusCode" = 'Failed' OR "StatusCode" = 'PartiallySucceeded' OR "StatusCode" = 'Stopped' OR "StatusCode" = '成功') AND StartTime = ""
向 MS 发出请求以发布这些属性的文档: http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3205145-tfs-vs2010-power-tools-alerts-explorer-documen
【讨论】: