Not able to send/receive email from Jenkins using Email-ext plugin -
i using jenkins ver. 1.463 running on 32-bit windows server. have installed email-ext plugin version 2.30.2.
i unable email notifications.
what trying - send email after every job - irrespective of whether operation success, failure, abort, not-build, etc.. using jenkins run automated test suites.
the way have configured test job "in post-build actions , have selected editable email notification", , filled in required fields(recipient list,etc). in advanced - selected triggers dropdown such "success, failure, aborted, regression, fixed, not-built, stable.
i have verified smtp server, recipients, still unable email, in console output of job see following lines
email triggered for: success
sending email trigger: success.
in jenkins server, in "jenkins.err.log", see following error message / exception being thrown, dont know exact cause
aug 27, 2013 5:41:57 pm hudson.model.run run
info: testjob-for-email #7 main build action completed: success
aug 27, 2013 5:41:58 pm hudson.model.executor run
severe: executor threw exception
java.lang.nosuchmethoderror: hudson.model.abstractbuild.getpreviousbuild()lhudson/model/abstractbuild;
@ hudson.plugins.emailext.plugins.content.buildstatuscontent.evaluate(buildstatuscontent.java:71)
@ org.jenkinsci.plugins.tokenmacro.databoundtokenmacro.evaluate(databoundtokenmacro.java:177)
@ org.jenkinsci.plugins.tokenmacro.tokenmacro.expand(tokenmacro.java:177)
@ org.jenkinsci.plugins.tokenmacro.tokenmacro.expandall(tokenmacro.java:219)
@ hudson.plugins.emailext.plugins.contentbuilder.transformtext(contentbuilder.java:63)
@ hudson.plugins.emailext.extendedemailpublisher.setsubject(extendedemailpublisher.java:687)
@ hudson.plugins.emailext.extendedemailpublisher.createmail(extendedemailpublisher.java:485)
@ hudson.plugins.emailext.extendedemailpublisher.sendmail(extendedemailpublisher.java:319)
@ hudson.plugins.emailext.extendedemailpublisher._perform(extendedemailpublisher.java:311)
@ hudson.plugins.emailext.extendedemailpublisher.perform(extendedemailpublisher.java:271)
@ hudson.tasks.buildstepmonitor$3.perform(buildstepmonitor.java:36)
@ hudson.model.abstractbuild$abstractrunner.perform(abstractbuild.java:710)
@ hudson.model.abstractbuild$abstractrunner.performallbuildsteps(abstractbuild.java:685)
@ hudson.maven.mavenmodulesetbuild$runnerimpl.cleanup(mavenmodulesetbuild.java:1018)
@ hudson.model.run.run(run.java:1478)
@ hudson.maven.mavenmodulesetbuild.run(mavenmodulesetbuild.java:477)
@ hudson.model.resourcecontroller.execute(resourcecontroller.java:88)
@ hudson.model.executor.run(executor.java:239)
could please help,thanks lot!
you need upgrade jenkins. version old version of email-ext
plugin you're using. see https://issues.jenkins-ci.org/browse/jenkins-18728
Comments
Post a Comment