使用 Email Extension 时
测试可以,使用构建后的通知也可以;为什么使用构建时邮箱连接不到呢?

提示如下图:

jenkins发送邮件报错 ERROR: Could not send email as a part of the post-build publishers.
jenkins发送邮件报错 ERROR: Could not send email as a part of the post-build publishers.
以前从来没碰见过这种问题,搞了大半天,发现Email Extension 使用的是2.7.5版本
仔细一看:2.7.5版本内
Extended E-mail Notification高级点开后,无Use SMTP Authentication可勾选,但是测试是通过的.
换成2.7.1版本,构建就可以了
jenkins发送邮件报错 ERROR: Could not send email as a part of the post-build publishers.

相关文章: