Marcus Müller a.k.a. "Tethpub ZNeK"

Jenkins: Description Setter Plugin + Email-ext - woes


In case you're using Jenkins' Email-ext plugin in conjunction with Description Setter Plugin and want to use ${DESCRIPTION_SETTER_DESCRIPTION} anywhere in the email templates but can't help but wonder why it's just not working, grief no longer!

As it turns out, the implementation for setting DESCRIPTION_SETTER_DESCRIPTION is a bit awkward and uses a parameter to achieve this goal. A while ago (due to problems with i.e. ant and possibly more) Jenkins was changed to suppress any undefined parameters.

In conclusion, you have to set the This project is parameterized option and define a DESCRIPTION_SETTER_DESCRIPTION parameter for the above to work. Pretty hackish for my taste. Luckily there's Hidden Parameter Plugin for hiding this kludge.