2

I want to know how we can specify the pool of users who will receive the mail if the build fails.

For example :- If there are 10 users who are part of the changes in a particular build, but I want to send e-mails only to those whom I have specified and configured to receive mails. Rest will not receive the mails

Suppose I want to send mails only to A, B, C. Even if build fails because of User D, I don't want to send mail to D.

Basically, I am asking if there is a way we can constrain the list of users who can receive the mail?

Is it possible to do?

Thanks

4

2 回答 2

3

就在这里。在构建后操作中:

  • 添加电子邮件通知
  • 在收件人列表中,添加您想要的所有电子邮件地址
  • 取消选中向破坏构建的个人发送单独的电子邮件

这将仅将电子邮件发送给您提供了电子邮件地址的人,而不管是谁破坏了构建。但是,这不会将电子邮件发送给构建破坏者。

您的另一个选择是转到“人员”部分,选择您不想接收电子邮件的用户,然后从他们的个人资料中删除他们的电子邮件地址。这样,即使他们破坏了构建,他们也不会收到电子邮件。只有那些配置了电子邮件地址的用户才会收到电子邮件。

于 2013-02-08T21:46:31.607 回答
2

看看电子邮件分机插件,它有很多选项来配置收件人应该是谁以及采取什么行动。安装插件后,您将获得一个新的构建后操作扩展电子邮件通知

于 2013-02-09T02:38:54.070 回答