詹金斯:设置邮件通知

时间:2015-11-17 17:01:22

标签: email jenkins

我在OpenShift中部署了Jenkins,我希望在项目失败时收到邮件通知。我有这个配置:

enter image description here

当我发送测试邮件时,我收到此错误:

  

javax.mail.AuthenticationFailedException:534-5.7.14    请通过您的网站登录   浏览器和534-5.7.14然后再试一次。 534-5.7.14在534了解更多   5.7.14 https://support.google.com/mail/answer/78754 32sm10514455qkp.11 - gsmtp

     

在   com.sun.mail.smtp.SMTPTransport $ Authenticator.authenticate(SMTPTransport.java:809)     在   com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:752)     在   com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)     在javax.mail.Service.connect(Service.java:317)at   javax.mail.Service.connect(Service.java:176)at   javax.mail.Service.connect(Service.java:125)at   javax.mail.Transport.send0(Transport.java:194)at   javax.mail.Transport.send(Transport.java:124)at   hudson.tasks.Mailer $ DescriptorImpl.doSendTestMail(Mailer.java:522)at at   sun.reflect.GeneratedMethodAccessor592.invoke(未知来源)at   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     在java.lang.reflect.Method.invoke(Method.java:606)at   org.kohsuke.stapler.Function $ InstanceFunction.invoke(Function.java:298)     在org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)at   org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)     在org.kohsuke.stapler.MetaClass $ 1.doDispatch(MetaClass.java:121)at at   org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)     在org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)at   org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)at at   org.kohsuke.stapler.MetaClass $ 6.doDispatch(MetaClass.java:249)at at   org.kohsuke.stapler.NameB

我写了正确的密码,所以这不是错误。

0 个答案:

没有答案