• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • email-ext-plugin
    • None
    • Jenkins 1.472 on RHEL 5 x86_64, email-ext 2.22

      On a failed build, the following message is shown in the build log when the build comes to sending email:

      Error substituting with token-macro plugin: org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'ConnectionHandler' in '[here comes html mail filled template]'
      

      The email itself is sent to the recipients. The issue also does not occur on successful builds.

      It also seems that the issue is not always present for the failed builds. Sometimes mail goes without any errors. It also seems that this 'unrecognized macro' also varies; I just found another occurrence complaining about unrecognized 'AbstractBuildExecution'

      I am using globally configured email-ext with content: ${JELLY_SCRIPT, template="html"}

          [JENKINS-14382] Error in substituting macro when sending email

          Alex Earl added a comment -

          This will already be fixed in 2.23.

          Alex Earl added a comment - This will already be fixed in 2.23.

          Alex Earl added a comment -

          Duplicate of JENKINS-14224

          Alex Earl added a comment - Duplicate of JENKINS-14224

            slide_o_mix Alex Earl
            raspy Krzysztof Malinowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: