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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-02 16:23:47  来源:igfitidea点击:

Why there are no sent mails after the Jenkins ext. mail step?

javaemailjenkinssmtp

提问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

enter image description here

enter image description here

enter image description here

enter image description here

回答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 ========

======== 编辑 ========

See at following printscreen how triggers may look like: enter image description here

在以下打印屏幕中查看触发器的外观: enter image description here