Jenkins 邮件配置随笔
问题:
10:26:45 Email was triggered for: Success
10:26:45 Sending email for trigger: Success
10:26:45 Sending email to:xxxxxxxxx@xxxxxxx
10:26:45 Connection error sending email, retrying once more in 10 seconds…
10:26:55 Connection error sending email, retrying once more in 10 seconds…
10:27:05 Failed after second try sending email
在应用jenkins插件 jenkins Editable Email Notification 设置邮件提醒时, 怎么都发不出邮件, 然后百度查看了下,找到解决方法
参考源文
https://www.cnblogs.com/jj1118/p/6085421.html
Make sure SMTP server is configured under “Manage Jenkins” -> “Configure System” -> “Extended E-mail Notification”
Note also that depending on your plug-in set up, you may have another place to configure SMTP server. For example under “Manage Jenkins” -> “Configure System” -> E-mail Notification.
根据上面的提示, 发现自己没有配置Extended E-mail Notification , 只配置了jenkins自带的 E-mail Notification , 照着E-mail Notification 配置好Extended E-mail Notification 即可