2017-07-29 40 views
0

我安裝了電子郵件擴展插件2.57.2。電子郵件工作正常,直到我更新插件到2.58。發生錯誤後,我將其降級到2.57.2,但這並沒有幫助。我不知道我有什麼版本開始。有任何想法嗎?我在域somedomain中沒有設置或配置中的.發送帶有電子郵件擴展插件的Jenkins電子郵件時出現「域錯誤:字符串以點開頭」

00:05:21.000 Email was triggered for: Success 
00:05:21.001 Sending email for trigger: Success 
00:05:21.238 ERROR: Could not send email as a part of the post-build publishers. 
00:05:21.239 javax.mail.internet.AddressException: Domain starts with dot in string ``[email protected]'' 
00:05:21.239 at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1247) 
00:05:21.239 at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1091) 
00:05:21.239 at javax.mail.internet.InternetAddress.parseHeader(InternetAddress.java:658) 
00:05:21.239 at javax.mail.internet.MimeMessage.getAddressHeader(MimeMessage.java:701) 
00:05:21.239 at javax.mail.internet.MimeMessage.getRecipients(MimeMessage.java:534) 
00:05:21.239 at javax.mail.Message.getAllRecipients(Message.java:305) 
00:05:21.239 at javax.mail.internet.MimeMessage.getAllRecipients(MimeMessage.java:549) 
00:05:21.239 at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:447) 
00:05:21.239 at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:435) 
00:05:21.239 at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:343) 
00:05:21.239 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 
00:05:21.239 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:730) 
00:05:21.239 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:676) 
00:05:21.239 at hudson.model.Build$BuildExecution.cleanUp(Build.java:196) 
00:05:21.239 at hudson.model.Run.execute(Run.java:1782) 
00:05:21.239 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 
00:05:21.239 at hudson.model.ResourceController.execute(ResourceController.java:97) 
00:05:21.239 at hudson.model.Executor.run(Executor.java:415) 
00:05:21.239 Finished: SUCCESS 
+0

你在使用Jenkinsfile嗎?你可以發佈嗎? – burnettk

+0

它不是一個Jenkinsfile可以從回溯中得知它的一個FreeStyleBuild –

+0

@DavidvanLaatum是的,它是一個免費的樣式構建。 – abc

回答

0

這個異常來自java郵件api。用戶配置了無效的電子郵件,配置了無效的電子郵件,或者SCM的電子郵件無效(或者全局默認域以點開頭)。

我沒有做出任何最近的更改,會導致這個開始發生的插件,所以可能與升級無關。