java 为什么在 Jenkins 分机之后没有发送的邮件。邮件步骤?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/30071469/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Why there are no sent mails after the Jenkins ext. mail step?
提问by Arthur Kharkivskiy
I have configured SMTP and the postpone extended email step. Jenkins is white listed, so I do not need to specify the credentials. Job finishes successful. But why it does not sends anything?
我已经配置了 SMTP 和延迟扩展电子邮件步骤。Jenkins 被列入白名单,所以我不需要指定凭据。作业成功完成。但为什么它不发送任何东西?
Second problem. I had some "successful" ext. email step runs with "no emails were triggered" result.
第二个问题。我有一些“成功”的分机。电子邮件步骤以“未触发电子邮件”的结果运行。
Full images: http://s16.postimg.org/5074itjub/image.jpg
完整图片:http: //s16.postimg.org/5074itjub/image.jpg
http://s17.postimg.org/5dghc1br1/image.jpg
http://s17.postimg.org/5dghc1br1/image.jpg
回答by Marcin Armatys
Check what triggersa sending email.
检查是什么触发了发送电子邮件。
I'm not sure if your second printscreen contains all configuration. But there I can see that only "Any failure" triggers sending email. So if job finished successfully no email were sent.
我不确定您的第二个打印屏幕是否包含所有配置。但是在那里我可以看到只有“任何失败”才会触发发送电子邮件。因此,如果作业成功完成,则不会发送电子邮件。
======== EDITED ========
======== 编辑 ========