Email-ext error sending email

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Email-ext error sending email

Pino Alu
We are using Jenkins Core 1.625.3 - Email-ext 2.55 and Token-macro 1.12.1.  The job is configured to send email to recipient list upon success and failure.  Upon a successful job completion we receive the following error.  We installed both plugins using Jenkins Plugin manager.

ERROR: Step ‘Editable Email Notification’ aborted due to exception: 07:56:05 java.lang.NoSuchMethodError: org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(Lhudson/model/Run;Lhudson/FilePath;Lhudson/model/TaskListener;Ljava/lang/String;ZLjava/util/List;)Ljava/lang/String; 07:56:05 at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:80) 07:56:05 at hudson.plugins.emailext.ExtendedEmailPublisher.setSubject(ExtendedEmailPublisher.java:706) 07:56:05 at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:595) 07:56:05 at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:355) 07:56:05 at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:345) 07:56:05 at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:253) 07:56:05 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 07:56:05 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) 07:56:05 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) 07:56:05 at hudson.model.Build$BuildExecution.cleanUp(Build.java:195) 07:56:05 at hudson.model.Run.execute(Run.java:1788) 07:56:05 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 07:56:05 at hudson.model.ResourceController.execute(ResourceController.java:98) 07:56:05 at hudson.model.Executor.run(Executor.java:408)

Job email-ext config.xml

<publishers>
<hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.55">
<recipientList>john@example.com</recipientList>
<configuredTriggers>
<hudson.plugins.emailext.plugins.trigger.FailureTrigger>
<email>
<subject>$PROJECT_DEFAULT_SUBJECT</subject>
<body>$PROJECT_DEFAULT_CONTENT</body>
<recipientProviders>
<hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
</recipientProviders>
<attachmentsPattern/>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
<contentType>project</contentType>
</email>
</hudson.plugins.emailext.plugins.trigger.FailureTrigger>
<hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
<email>
<subject>$PROJECT_DEFAULT_SUBJECT</subject>
<body>$PROJECT_DEFAULT_CONTENT</body>
<recipientProviders>
<hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
<hudson.plugins.emailext.plugins.recipients.RequesterRecipientProvider/>
</recipientProviders>
<attachmentsPattern/>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
<contentType>project</contentType>
</email>
</hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
</configuredTriggers>
<contentType>text/plain</contentType>
<defaultSubject>$DEFAULT_SUBJECT</defaultSubject>
<defaultContent>$DEFAULT_CONTENT</defaultContent>
<attachmentsPattern/>
<presendScript>$DEFAULT_PRESEND_SCRIPT</presendScript>
<postsendScript>$DEFAULT_POSTSEND_SCRIPT</postsendScript>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$DEFAULT_REPLYTO</replyTo>
<saveOutput>false</saveOutput>
<disabled>false</disabled>
</hudson.plugins.emailext.ExtendedEmailPublisher>
</publishers>

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7db42a80-9ba4-48df-89e0-f7330b478b83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Email-ext error sending email

slide
You have the wrong version of token-macro. Upgrade to the latest.

On Fri, Feb 17, 2017 at 7:12 AM Pino Alu <[hidden email]> wrote:
We are using Jenkins Core 1.625.3 - Email-ext 2.55 and Token-macro 1.12.1.  The job is configured to send email to recipient list upon success and failure.  Upon a successful job completion we receive the following error.  We installed both plugins using Jenkins Plugin manager.


Job email-ext config.xml

<publishers>
<hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.55">
<recipientList>john@example.com</recipientList>
<configuredTriggers>
<hudson.plugins.emailext.plugins.trigger.FailureTrigger>
<email>
<subject>$PROJECT_DEFAULT_SUBJECT</subject>
<body>$PROJECT_DEFAULT_CONTENT</body>
<recipientProviders>
<hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
</recipientProviders>
<attachmentsPattern/>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
<contentType>project</contentType>
</email>
</hudson.plugins.emailext.plugins.trigger.FailureTrigger>
<hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
<email>
<subject>$PROJECT_DEFAULT_SUBJECT</subject>
<body>$PROJECT_DEFAULT_CONTENT</body>
<recipientProviders>
<hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
<hudson.plugins.emailext.plugins.recipients.RequesterRecipientProvider/>
</recipientProviders>
<attachmentsPattern/>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
<contentType>project</contentType>
</email>
</hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
</configuredTriggers>
<contentType>text/plain</contentType>
<defaultSubject>$DEFAULT_SUBJECT</defaultSubject>
<defaultContent>$DEFAULT_CONTENT</defaultContent>
<attachmentsPattern/>
<presendScript>$DEFAULT_PRESEND_SCRIPT</presendScript>
<postsendScript>$DEFAULT_POSTSEND_SCRIPT</postsendScript>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$DEFAULT_REPLYTO</replyTo>
<saveOutput>false</saveOutput>
<disabled>false</disabled>
</hudson.plugins.emailext.ExtendedEmailPublisher>
</publishers>

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7db42a80-9ba4-48df-89e0-f7330b478b83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeTaHzsjP9h_Y0KSg-oCQJnumEi84ab9%3D6yZ7v8HUOvhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Email-ext error sending email

Pino Alu
In reply to this post by Pino Alu
If we upgrade to v 2.0 this would require Jenkins Core be updated from 1.625.3 to 1.642.2 or higher

On Friday, February 17, 2017 at 8:12:43 AM UTC-6, Pino Alu wrote:
We are using Jenkins Core 1.625.3 - Email-ext 2.55 and Token-macro 1.12.1.  The job is configured to send email to recipient list upon success and failure.  Upon a successful job completion we receive the following error.  We installed both plugins using Jenkins Plugin manager.

ERROR: Step ‘Editable Email Notification’ aborted due to exception: 07:56:05 <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%3Fquery%3Djava.lang.NoSuchMethodError\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFZ_WQqjWyyOQuK6kfmY7m-Cb-uDg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%3Fquery%3Djava.lang.NoSuchMethodError\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFZ_WQqjWyyOQuK6kfmY7m-Cb-uDg&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search?query=java.lang.NoSuchMethodError" target="_blank" rel="nofollow">java.lang.NoSuchMethodError: org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(Lhudson/model/Run;Lhudson/FilePath;Lhudson/model/TaskListener;Ljava/lang/String;ZLjava/util/List;)Ljava/lang/String; 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.plugins.ContentBuilder.transformText%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFs5lGX6ujlV2NBMSMMkkCywfhtNg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.plugins.ContentBuilder.transformText%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFs5lGX6ujlV2NBMSMMkkCywfhtNg&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.emailext.plugins.ContentBuilder.transformText&amp;entity=method" target="_blank" rel="nofollow">hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:80) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.ExtendedEmailPublisher.setSubject%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEwcxlyv5ORlN0PdtWti7JW8l8slQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.ExtendedEmailPublisher.setSubject%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEwcxlyv5ORlN0PdtWti7JW8l8slQ&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.emailext.ExtendedEmailPublisher.setSubject&amp;entity=method" target="_blank" rel="nofollow">hudson.plugins.emailext.ExtendedEmailPublisher.setSubject(ExtendedEmailPublisher.java:706) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.ExtendedEmailPublisher.createMail%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHYpLT3dO63VKwslNoPfTePaAdfAA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.ExtendedEmailPublisher.createMail%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHYpLT3dO63VKwslNoPfTePaAdfAA&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.emailext.ExtendedEmailPublisher.createMail&amp;entity=method" target="_blank" rel="nofollow">hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:595) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.ExtendedEmailPublisher.sendMail%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHJwPL8WseCS1kUmttNfE9GWqgUEg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.ExtendedEmailPublisher.sendMail%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHJwPL8WseCS1kUmttNfE9GWqgUEg&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.emailext.ExtendedEmailPublisher.sendMail&amp;entity=method" target="_blank" rel="nofollow">hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:355) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.ExtendedEmailPublisher._perform%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFioiLCK46TC2rT1aR8_84i2x9Itw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.ExtendedEmailPublisher._perform%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFioiLCK46TC2rT1aR8_84i2x9Itw&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.emailext.ExtendedEmailPublisher._perform&amp;entity=method" target="_blank" rel="nofollow">hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:345) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.ExtendedEmailPublisher.perform%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES8-sQrVJqd25EeRAn41Ij57t13A&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.plugins.emailext.ExtendedEmailPublisher.perform%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES8-sQrVJqd25EeRAn41Ij57t13A&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.emailext.ExtendedEmailPublisher.perform&amp;entity=method" target="_blank" rel="nofollow">hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:253) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.tasks.BuildStepMonitor%241.perform%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHL48MbJD9UoRkHsLaDeQJaJ_HhIw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.tasks.BuildStepMonitor%241.perform%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHL48MbJD9UoRkHsLaDeQJaJ_HhIw&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.perform&amp;entity=method" target="_blank" rel="nofollow">hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.AbstractBuild%24AbstractBuildExecution.perform%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHbhnG7fUuwmdH4ZOmLXOJXgripRA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.AbstractBuild%24AbstractBuildExecution.perform%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHbhnG7fUuwmdH4ZOmLXOJXgripRA&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&amp;entity=method" target="_blank" rel="nofollow">hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.AbstractBuild%24AbstractBuildExecution.performAllBuildSteps%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHrwAIy0umGiGdcXj20Kg5_FR7YcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.AbstractBuild%24AbstractBuildExecution.performAllBuildSteps%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHrwAIy0umGiGdcXj20Kg5_FR7YcA&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps&amp;entity=method" target="_blank" rel="nofollow">hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.Build%24BuildExecution.cleanUp%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEdKCMOBrXO3OQeecDGWKcxw48UmA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.Build%24BuildExecution.cleanUp%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEdKCMOBrXO3OQeecDGWKcxw48UmA&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.cleanUp&amp;entity=method" target="_blank" rel="nofollow">hudson.model.Build$BuildExecution.cleanUp(Build.java:195) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.Run.execute%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNETtPpVd7tDv7CjUukUxCMqdyyvsg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.Run.execute%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNETtPpVd7tDv7CjUukUxCMqdyyvsg&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&amp;entity=method" target="_blank" rel="nofollow">hudson.model.Run.execute(Run.java:1788) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.FreeStyleBuild.run%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHBMvHWyp9FMm7-BAja7KQ6xjh-Lw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.FreeStyleBuild.run%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHBMvHWyp9FMm7-BAja7KQ6xjh-Lw&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&amp;entity=method" target="_blank" rel="nofollow">hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.ResourceController.execute%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHijQNK4saVqMs-HDDsMnhY0n5_UA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.ResourceController.execute%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHijQNK4saVqMs-HDDsMnhY0n5_UA&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&amp;entity=method" target="_blank" rel="nofollow">hudson.model.ResourceController.execute(ResourceController.java:98) 07:56:05 at <a style="color: inherit; text-decoration: none;" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.Executor.run%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHa1ceyEovEcdH852nGplHgtCvOmA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.model.Executor.run%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHa1ceyEovEcdH852nGplHgtCvOmA&#39;;return true;" href="http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&amp;entity=method" target="_blank" rel="nofollow">hudson.model.Executor.run(Executor.java:408)

Job email-ext config.xml

<publishers>
<hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.55">
<recipientList>john@<a onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fexample.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH5iRlnhCg_mk89zURn-g01qQYJEw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fexample.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH5iRlnhCg_mk89zURn-g01qQYJEw&#39;;return true;" href="http://example.com" target="_blank" rel="nofollow">example.com</recipientList>
<configuredTriggers>
<hudson.plugins.emailext.plugins.trigger.FailureTrigger>
<email>
<subject>$PROJECT_DEFAULT_SUBJECT</subject>
<body>$PROJECT_DEFAULT_CONTENT</body>
<recipientProviders>
<hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
</recipientProviders>
<attachmentsPattern/>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
<contentType>project</contentType>
</email>
</hudson.plugins.emailext.plugins.trigger.FailureTrigger>
<hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
<email>
<subject>$PROJECT_DEFAULT_SUBJECT</subject>
<body>$PROJECT_DEFAULT_CONTENT</body>
<recipientProviders>
<hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
<hudson.plugins.emailext.plugins.recipients.RequesterRecipientProvider/>
</recipientProviders>
<attachmentsPattern/>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
<contentType>project</contentType>
</email>
</hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
</configuredTriggers>
<contentType>text/plain</contentType>
<defaultSubject>$DEFAULT_SUBJECT</defaultSubject>
<defaultContent>$DEFAULT_CONTENT</defaultContent>
<attachmentsPattern/>
<presendScript>$DEFAULT_PRESEND_SCRIPT</presendScript>
<postsendScript>$DEFAULT_POSTSEND_SCRIPT</postsendScript>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$DEFAULT_REPLYTO</replyTo>
<saveOutput>false</saveOutput>
<disabled>false</disabled>
</hudson.plugins.emailext.ExtendedEmailPublisher>
</publishers>

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5c8ec1b6-04dc-4a25-b178-5ba21019f766%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Email-ext error sending email

slide

Then you will need to downgrade email-ext


On Fri, Feb 17, 2017, 08:01 Pino Alu <[hidden email]> wrote:
If we upgrade to v 2.0 this would require Jenkins Core be updated from 1.625.3 to 1.642.2 or higher


On Friday, February 17, 2017 at 8:12:43 AM UTC-6, Pino Alu wrote:
We are using Jenkins Core 1.625.3 - Email-ext 2.55 and Token-macro 1.12.1.  The job is configured to send email to recipient list upon success and failure.  Upon a successful job completion we receive the following error.  We installed both plugins using Jenkins Plugin manager.


Job email-ext config.xml

<publishers>
<hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.55">
<recipientList>john@example.com</recipientList>
<configuredTriggers>
<hudson.plugins.emailext.plugins.trigger.FailureTrigger>
<email>
<subject>$PROJECT_DEFAULT_SUBJECT</subject>
<body>$PROJECT_DEFAULT_CONTENT</body>
<recipientProviders>
<hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
</recipientProviders>
<attachmentsPattern/>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
<contentType>project</contentType>
</email>
</hudson.plugins.emailext.plugins.trigger.FailureTrigger>
<hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
<email>
<subject>$PROJECT_DEFAULT_SUBJECT</subject>
<body>$PROJECT_DEFAULT_CONTENT</body>
<recipientProviders>
<hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
<hudson.plugins.emailext.plugins.recipients.RequesterRecipientProvider/>
</recipientProviders>
<attachmentsPattern/>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
<contentType>project</contentType>
</email>
</hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
</configuredTriggers>
<contentType>text/plain</contentType>
<defaultSubject>$DEFAULT_SUBJECT</defaultSubject>
<defaultContent>$DEFAULT_CONTENT</defaultContent>
<attachmentsPattern/>
<presendScript>$DEFAULT_PRESEND_SCRIPT</presendScript>
<postsendScript>$DEFAULT_POSTSEND_SCRIPT</postsendScript>
<attachBuildLog>false</attachBuildLog>
<compressBuildLog>false</compressBuildLog>
<replyTo>$DEFAULT_REPLYTO</replyTo>
<saveOutput>false</saveOutput>
<disabled>false</disabled>
</hudson.plugins.emailext.ExtendedEmailPublisher>
</publishers>

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5c8ec1b6-04dc-4a25-b178-5ba21019f766%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcZ8sRd9xjLghgEWxrrkLz3xfKVJmsH6EJ9_a%2BDVYLLOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.