在将 Hudson 从 2 升级到 3 并在 Tomcat 中运行它之后,它的电子邮件扩展程序不再发送电子邮件并因错误而失败(即使“mechansims”一词中有错字:))
ERROR: No authentication mechansims supported by both server and client
javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client
at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)
at javax.mail.Service.connect(Service.java:317)
at hudson.tasks.Mailer$DescriptorImpl.send(Mailer.java:505)
at hudson.tasks.Mailer$DescriptorImpl.send(Mailer.java:476)
at hudson.tasks.MailSender.execute(MailSender.java:91)
at hudson.tasks.Mailer.perform(Mailer.java:112)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:34)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:646)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:624)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:600)
at hudson.model.Build$RunnerImpl.post2(Build.java:163)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:566)
at hudson.model.Run.run(Run.java:1414)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:40)
at hudson.model.ResourceController.execute(ResourceController.java:81)
at hudson.model.Executor.run(Executor.java:137)
它是插件的错误,还是有人知道问题可能出在哪里?我尝试在 Hudson 主配置页面中添加 SMTP 身份验证凭据来删除它 - 它没有帮助。