构建后不会发送通知

时间:2017-04-04 15:52:10

标签: jenkins

我想向某些收件人发送构建结果 - 无论是SUCCESS还是FAILURE。在Extended E-mail Notification配置中,我将回复列表设置为某些gmail邮件。

enter image description here

在我after build部分的notification工作中,我按原样保留了通知配置

enter image description here

但是当构建失败时,它不会发送通知,因为收件人列表被视为empty

enter image description here

有什么问题?

1 个答案:

答案 0 :(得分:1)

您可以填写“扩展电子邮件通知”中的默认收件人并将其用作项目收件人列表$DEFAULT_RECIPIENTS,也可以直接指定电子邮件地址(逗号分隔) 项目收件人列表

其中一个字段必须包含有效的电子邮件地址。否则它会因An attempt to send an e-mail to empty list of recipients, ignored.失败而失败。

另外尝试验证:Jenkins email-ext plugin thinks I have no recipients configured

相关问题