Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38485

BUILD_NUMBER token not replaced in emails generated by email-ext plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After upgrading to token-macro-plugin 2.0 the ${BUILD_NUMBER} token is no longer replaced in emails sent by email-ext-plugin

      Downgrading to token-macro-plugin version 1.12.1 restores the original behaviour

        Attachments

          Activity

          Hide
          barnish Andrew Barnish added a comment -

          I think there must have been some change to the token substitution algorithm as it looks like we had a space before the final curly bracket that was causing this problem.
          Now that seems it is not allowed whereas in the old version it was

          Show
          barnish Andrew Barnish added a comment - I think there must have been some change to the token substitution algorithm as it looks like we had a space before the final curly bracket that was causing this problem. Now that seems it is not allowed whereas in the old version it was
          Hide
          barnish Andrew Barnish added a comment -

          The field contained a space by mistake:
          i.e. "${BUILD_NUMBER }" instead of "${BUILD_NUMBER}"

          Show
          barnish Andrew Barnish added a comment - The field contained a space by mistake: i.e. "${BUILD_NUMBER }" instead of "${BUILD_NUMBER}"

            People

            Assignee:
            slide_o_mix Alex Earl
            Reporter:
            barnish Andrew Barnish
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: