Jenkins可编辑电子邮件通知在构建状态为passd时不发送电子邮件,但在构建失败时发送

nvbavucw  于 9个月前  发布在  Jenkins
关注(0)|答案(1)|浏览(117)

基于https://nozaki.me/roller/kyle/entry/articles-jenkins-email,在一个自由风格的Jenkins项目中,我配置了一个作业,即使在构建通过时也发送电子邮件。
但是,它仅在构建失败时触发。对于构建阶段示例,输出如下所示,不发送电子邮件。

Started by user De Silva, Sameera
Running as SYSTEM
BigPanda Notifier: Success
[EnvInject] - Loading node environment variables.
Building remotely on slave_1 in workspace /opt/software/jenkins/workspace/SNOW_Automation/mvnpath
No emails were triggered.
[mvnpath] $ /bin/sh -xe /tmp/jenkins1851354422188041636.sh
+ echo sameera
sameera
BigPanda Notifier: Success
Email was triggered for: Always
Sending email for trigger: Always
Sending email to: [email protected]
Not sent to the following valid addresses: [email protected]
Finished: SUCCESS

字符串
以下是构建后操作的屏幕截图。


的数据



这是构建后触发器的屏幕截图。



请帮忙。

c8ib6hqw

c8ib6hqw1#

解决方案是,通过给一个电子邮件项目从.
项目来源:Whom
此字段包含电子邮件通知的发件人的电子邮件地址。收件人将看到此“发件人”地址。
我把剩下的田地
项目发件人:email protected(https://stackoverflow.com/cdn-cgi/l/email-protection)项目回复列表:email protected(https://stackoverflow.com/cdn-cgi/l/email-protection)项目回复列表:(可选,如果您希望回复到其他地址)


的数据

相关问题