I am trying to locate which version of Email-ext goes with token-macro plugin? Currently we have Email-Ext v2.55 installed and token-macro v1.12.1 installed and Email-ext is not sending email but the Jenkins mail plugin is configured and works. We receive this error and I feel it is an issue with token-macro version not playing nice with Email-ext. Any help would be great.
Error:
19:00:14 Sending email for trigger: Success
19:00:14 ERROR: Step ‘Editable Email Notification’ aborted due to exception:
19:00:14 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;19:00:14 at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:80)
19:00:14 at hudson.plugins.emailext.ExtendedEmailPublisher.setSubject(ExtendedEmailPublisher.java:706)
19:00:14 at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:595)
19:00:14 at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:355)
19:00:14 at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:345)
19:00:14 at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:253)
19:00:14 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
19:00:14 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
19:00:14 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
19:00:14 at hudson.model.Build$BuildExecution.cleanUp(Build.java:195)
19:00:14 at hudson.model.Run.execute(Run.java:1788)
19:00:14 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
19:00:14 at hudson.model.ResourceController.execute(ResourceController.java:98)
19:00:14 at hudson.model.Executor.run(Executor.java:408)
Thanks,
Did you install via the plugin manager? If so, then the correct version of token macro should have been installed. If not, then you need to check the pom file for email-ext and determine from there what version is needed for each dependency.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/e483b174-f35a-472d-ba54-15cde5632963%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
19:00:14 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;
On Thursday, February 16, 2017 at 9:44:08 AM UTC-6, Pino Alu wrote: