JENKINS-65242 Email extension plugin not able to resolve the environment variables content: I am using email-ext for sending emails after every build. My jenkins version got updated to v 2.277.1 . After the update, I updated the email-ext plugin to 2.82 version. After all these updates, the email ext plugin is not able to resolve the environment variables . Say we use the subject : '$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!' The plugin used to resolve these variables before the update, but now, we are getting the subject as it is.
The solution is to update Token Macro to 2.14 or later. See the ASM update section of the Jenkins LTS 2.277.x upgrade guide.
ASM update
1 2 3 4 5 6 7 8 9
Jenkins 2.277.1 updates the ASM Java bytecode manipulation and analysis framework that is used for bytecode processing in many plugins. This update affects plugins that depend on ASM for bytecode processing. Some older plugin releases may report a RuntimeException with the message "Error creating extended parser class" (like Token Macro plugin). Other older plugin releases may fail to interpret existing settings (like Email Extension plugin).
Use the Plugin Manager to update plugins affected by the ASM update after upgrading to Jenkins 2.277.1.