TeamCity 从上游构建通知 cuprit
我们有 2 个项目配置 A 和 B。 B 取决于A。提交者在项目A中进行的更改导致下游项目B构建失败。
TeamCity 中有没有办法通知项目 A 的提交者 B 由于他的更改而失败了?
Jenkins/Hudson 支持在这种特殊情况下使用 upstream-individuals:A
作为电子邮件地址。
We have 2 project configurations A and B. B depends on A. A commiter makes a change in project A that causes build failure in downstream project B.
Is there a way in TeamCity to notify the commiter of project A that the B has failed because of his change?
Jenkins/Hudson supports that using upstream-individuals:A
as an email address in this particular situation.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如 Danere 指出的那样,我尝试通过快照依赖项来设置它,并且它正在工作。由于 TC 方式与您可能尝试使用 Jenkins 的方式不同,这里是我的设置:
项目 C 可能会被删除,但我的配置更复杂,最后一步执行系统测试,我不希望它监视所有上游项目的所有 VCS。
I tried to set it up through snapshot dependencies as Danere pointed out and it is working. Since the TC way is different from what you probably tried with Jenkins here is my setup:
The project C could be probably eliminated but my configuration is more complex and the last step performs system tests and I didn't want it to monitor all VCSs of all the upstream projects.