ERROR: Could not send email as a part of the post-build publishers.

2017-08-16 Thread NIGHIL VADAKKAN



Please help me to resolve this. I am not able to sent failure email 
notification as a part of post build action


Email was triggered for: Failure
Sending email for trigger: Failure
Sending email to: nighi...@microsemi.com
ERROR: Could not send email as a part of the post-build 
publishers.javax.mail.MessagingException 
: 
[EOF]
at 
com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:2023) 

at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:1440) 

at 
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:644) 

at 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.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:306)
 

at 
hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:284)
 

at 
hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:236)
 

at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 

at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
 

at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:754)
 

at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) 

at hudson.model.Run.execute(Run.java:1649) 

at hudson.model.Run.run(Run.java:1551) 

at 
com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:63) 

at hudson.model.ResourceController.execute(ResourceController.java:88) 

at hudson.model.Executor.run(Executor.java:246) 

Finished: FAILURE

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/62cb1eca-225f-4a6c-a8bb-60e4d371b2cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ERROR: Could not send email as a part of the post-build publishers.

2012-10-10 Thread hitesh kumar
Hi,
Please let me know if any one facing below issue and having any solution or
workaround.
*env:*
LTS jenkins 1.447.2
email ext-2.22
ubuntu 10.04

*Job config:*
-matrix job
-Variants 1 2 3
-select Trigger for each configuration at editable email Notification.

*ISSUE :one of variant job is not sending mail and generating below issue:
other variant jobs are sending mails.*
ERROR: Could not send email as a part of the post-build publishers.
javax.mail.MessagingException: IOException while sending message;
  nested exception is:
java.io.IOException
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1141)
at javax.mail.Transport.send0(Transport.java:195)
at javax.mail.Transport.send(Transport.java:124)
at
hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:282)
at
hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:265)
at
hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:225)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
at hudson.model.Run.run(Run.java:1448)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:238)
Caused by: java.io.IOException
at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175)
at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:151)
at javax.activation.DataHandler.writeTo(DataHandler.java:293)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:865)
at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:462)
at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:103)
at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:869)
at javax.activation.DataHandler.writeTo(DataHandler.java:302)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099)
... 14 more


Re: ERROR: Could not send email as a part of the post-build publishers.

2012-10-10 Thread Slide
Looks like you are on an older version of email-ext.

slide

On Wed, Oct 10, 2012 at 9:59 PM, hitesh kumar hits...@gmail.com wrote:

 Hi,
 Please let me know if any one facing below issue and having
 any solution or workaround.
 *env:*
 LTS jenkins 1.447.2
 email ext-2.22
 ubuntu 10.04

 *Job config:*
 -matrix job
 -Variants 1 2 3
 -select Trigger for each configuration at editable email Notification.

 *ISSUE :one of variant job is not sending mail and generating below
 issue: other variant jobs are sending mails.*
 ERROR: Could not send email as a part of the post-build publishers.
 javax.mail.MessagingException: IOException while sending message;
   nested exception is:
 java.io.IOException
  at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1141)
 at javax.mail.Transport.send0(Transport.java:195)
  at javax.mail.Transport.send(Transport.java:124)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:282)
  at
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:265)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:225)
  at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
 at
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
  at
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
 at
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
  at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
 at hudson.model.Run.run(Run.java:1448)
  at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
  at hudson.model.Executor.run(Executor.java:238)
 Caused by: java.io.IOException
 at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175)
  at
 hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:151)
 at javax.activation.DataHandler.writeTo(DataHandler.java:293)
  at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
 at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:865)
  at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:462)
 at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:103)
  at
 javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:869)
 at javax.activation.DataHandler.writeTo(DataHandler.java:302)
  at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
 at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772)
  at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099)
 ... 14 more




-- 
Website: http://earl-of-code.com


Re: ERROR: Could not send email as a part of the post-build publishers.

2012-10-10 Thread hitesh kumar
Thanks Slide for reply.
i am using email ext-2.22
is latest   2.24.1 having fix of it???

as per https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin
below raised issue already should be fixed in 2.19 version.

   - JENKINS-12047 https://issues.jenkins-ci.org/browse/JENKINS-12047

ERROR: Could not send email as a part of the post-build
publishers.https://issues.jenkins-ci.org/browse/JENKINS-12047

Please share your comment?


On Thu, Oct 11, 2012 at 2:00 PM, Slide slide.o@gmail.com wrote:

 Looks like you are on an older version of email-ext.

 slide


 On Wed, Oct 10, 2012 at 9:59 PM, hitesh kumar hits...@gmail.com wrote:

 Hi,
 Please let me know if any one facing below issue and having
 any solution or workaround.
 *env:*
 LTS jenkins 1.447.2
 email ext-2.22
 ubuntu 10.04

 *Job config:*
 -matrix job
 -Variants 1 2 3
 -select Trigger for each configuration at editable email Notification.

 *ISSUE :one of variant job is not sending mail and generating below
 issue: other variant jobs are sending mails.*
 ERROR: Could not send email as a part of the post-build publishers.
 javax.mail.MessagingException: IOException while sending message;
   nested exception is:
 java.io.IOException
  at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1141)
 at javax.mail.Transport.send0(Transport.java:195)
  at javax.mail.Transport.send(Transport.java:124)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:282)
  at
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:265)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:225)
  at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
 at
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
  at
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
 at
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
  at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
 at hudson.model.Run.run(Run.java:1448)
  at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
  at hudson.model.Executor.run(Executor.java:238)
 Caused by: java.io.IOException
 at
 hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175)
  at
 hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:151)
 at javax.activation.DataHandler.writeTo(DataHandler.java:293)
  at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
 at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:865)
  at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:462)
 at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:103)
  at
 javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:869)
 at javax.activation.DataHandler.writeTo(DataHandler.java:302)
  at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
 at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772)
  at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099)
 ... 14 more




 --
 Website: http://earl-of-code.com