Email extender notification no longer resolve variables in the notification

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

Email extender notification no longer resolve variables in the notification

Daniel Stubkjær
Hello everyone,

last week we upgrade jenkins from 2.263.4 to 2.777.1, 
now we have a problem with email extender plugin(v. 2.80) that is not resolving the variabels in the email notification. instead it comes trough as below

email notification jenkins.png
besides the upgrade, nothing has been changes in the install, and the job sending the notification still works as before, only problem is the unresolved variables.

has anybody run in to a similar problem or has an idea of where to look for solution

  

--
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/9ce0559c-d7d9-4247-8847-9e5d1546f29an%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Email extender notification no longer resolve variables in the notification

Mark Waite-2
We've seen reports of that type of problem.  See https://issues.jenkins.io/browse/JENKINS-64659 for an example.

The solution has been to follow the instructions in the Jenkins 2.277.1 upgrade guide that advise
  • Update plugins before the Jenkins 2.277.1 upgrade
  • Upgrade to Jenkins 2.277.1
  • Update plugins after the Jenkins 2.277.1 upgrade
In this specific case, the latest version of the token-macro plugin has been the solution.

Mark Waite

On Wed, Mar 24, 2021 at 9:18 AM Daniel Stubkjær <[hidden email]> wrote:
Hello everyone,

last week we upgrade jenkins from 2.263.4 to 2.777.1, 
now we have a problem with email extender plugin(v. 2.80) that is not resolving the variabels in the email notification. instead it comes trough as below

email notification jenkins.png
besides the upgrade, nothing has been changes in the install, and the job sending the notification still works as before, only problem is the unresolved variables.

has anybody run in to a similar problem or has an idea of where to look for solution

  

--
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/9ce0559c-d7d9-4247-8847-9e5d1546f29an%40googlegroups.com.

--
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/CAO49JtHsCVyY8U-s%3Dixgg8c7x39izg1rZuj02yhwjuP4-0ZOkg%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Email extender notification no longer resolve variables in the notification

Daniel Stubkjær
Hi Mark,

Thanks for the reply,
it fix the problem.

normal i would upgrade the plugins as a first thing, but this time a external it supporter  upgrade the server
and that also upgraded the jenkins instance on that machine, so it was an unintentionel upgrade. :-)

many thanks for you help


onsdag den 24. marts 2021 kl. 17.58.10 UTC+1 skrev Mark Waite:
We've seen reports of that type of problem.  See https://issues.jenkins.io/browse/JENKINS-64659 for an example.

The solution has been to follow the instructions in the Jenkins 2.277.1 upgrade guide that advise
  • Update plugins before the Jenkins 2.277.1 upgrade
  • Upgrade to Jenkins 2.277.1
  • Update plugins after the Jenkins 2.277.1 upgrade
In this specific case, the latest version of the token-macro plugin has been the solution.

Mark Waite

On Wed, Mar 24, 2021 at 9:18 AM Daniel Stubkjær <[hidden email]> wrote:
Hello everyone,

last week we upgrade jenkins from 2.263.4 to 2.777.1, 
now we have a problem with email extender plugin(v. 2.80) that is not resolving the variabels in the email notification. instead it comes trough as below

email notification jenkins.png
besides the upgrade, nothing has been changes in the install, and the job sending the notification still works as before, only problem is the unresolved variables.

has anybody run in to a similar problem or has an idea of where to look for solution

  

--
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/9ce0559c-d7d9-4247-8847-9e5d1546f29an%40googlegroups.com.

--
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/bf62f05a-c482-45f6-9e76-20092215568dn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Email extender notification no longer resolve variables in the notification

Ed Rolison
In reply to this post by Mark Waite-2

I've had the same problem as this, and found that updating the Token-macro plugin doesn't actually solve it. I've updated to 2.15, and am still having the same issue>

I've also tried using Jenkins 2.285 as well as 2.277.1, and neither seems to have helped.

 [id=50] SEVERE h.p.e.plugins.ContentBuilder#transformText
java.lang.IllegalStateException
at org.objectweb.asm.tree.analysis.BasicInterpreter.<init>(BasicInterpreter.java:66)
at org.parboiled.transform.RuleMethodInterpreter.<init>(RuleMethodInterpreter.java:42)
at org.parboiled.transform.InstructionGraphCreator.process(InstructionGraphCreator.java:41)
at org.parboiled.transform.ParserTransformer.runMethodTransformers(ParserTransformer.java:62)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:45)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:39)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
Caused: java.lang.RuntimeException: Error creating extended parser class: null
at org.parboiled.Parboiled.createParser(Parboiled.java:58)
at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:80)
at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:74)
at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:199)


I'd appreciate any advice on further troubleshooting steps - is it worth erasing and re-installing the TokenMacro plugin? 
On Wednesday, 24 March 2021 at 16:58:10 UTC Mark Waite wrote:
We've seen reports of that type of problem.  See https://issues.jenkins.io/browse/JENKINS-64659 for an example.

The solution has been to follow the instructions in the Jenkins 2.277.1 upgrade guide that advise
  • Update plugins before the Jenkins 2.277.1 upgrade
  • Upgrade to Jenkins 2.277.1
  • Update plugins after the Jenkins 2.277.1 upgrade
In this specific case, the latest version of the token-macro plugin has been the solution.

Mark Waite

On Wed, Mar 24, 2021 at 9:18 AM Daniel Stubkjær <[hidden email]> wrote:
Hello everyone,

last week we upgrade jenkins from 2.263.4 to 2.777.1, 
now we have a problem with email extender plugin(v. 2.80) that is not resolving the variabels in the email notification. instead it comes trough as below

email notification jenkins.png
besides the upgrade, nothing has been changes in the install, and the job sending the notification still works as before, only problem is the unresolved variables.

has anybody run in to a similar problem or has an idea of where to look for solution

  

--
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/9ce0559c-d7d9-4247-8847-9e5d1546f29an%40googlegroups.com.

--
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/27bf70ee-70b3-48c4-8737-dbc7df3ab880n%40googlegroups.com.