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

Email extension templates not expanding environment variables

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      token-macro 2.14

      Description

      I have verified that this occurs when I upgrade Jenkins from 2.273 to 2.274. Up until that version, this works perfectly:

       

      From: jenkins_server06@pridedallas.com jenkins_server06@pridedallas.com
      Sent: Monday, January 18, 2021 6:59 PM
      To: # IT
      Subject: PHP-Master - Build # 202 - Successful!

       

      PHP-Master - Build # 202 - Successful: Check console output at http://jenkins.pridedallas.com:9999/job/PHP-Master/202/ to view the results.


      Now, I get this:

      From: jenkins_server06@pridedallas.com jenkins_server06@pridedallas.com
      Sent: Monday, January 18, 2021 7:21 PM
      To: # IT
      Subject: $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!

       

      $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS: Check console output at $BUILD_URL to view the results.

       


      Windows Server 2019

       

        Attachments

          Issue Links

            Activity

            Hide
            markewaite Mark Waite added a comment -

            Keith Davis did you update the token-macro plugin to the most recent available release for the Jenkins version you are running?

            The Jenkins plugin manager currently needs the user to press "Check now" after an upgrade from a previous version (like 2.263) to a newer version (like 2.277). If you don't press the "Check now" button or wait the 24 or more hours for the clock based refresh, it will not show all available updates for the newer version. A Jenkins core pull request is being evaluated now to improve that behavior, but it has not arrived in any Jenkins core version yet.

            Show
            markewaite Mark Waite added a comment - Keith Davis did you update the token-macro plugin to the most recent available release for the Jenkins version you are running? The Jenkins plugin manager currently needs the user to press "Check now" after an upgrade from a previous version (like 2.263) to a newer version (like 2.277). If you don't press the "Check now" button or wait the 24 or more hours for the clock based refresh, it will not show all available updates for the newer version. A Jenkins core pull request is being evaluated now to improve that behavior, but it has not arrived in any Jenkins core version yet.
            Hide
            laurin1 Keith Davis added a comment -

            No. I was holding off upgrades core and extensions until this was fixed as it's too hard to rollback. Nothing in this issue that I can see says that it's fixed.

            Show
            laurin1 Keith Davis added a comment - No. I was holding off upgrades core and extensions until this was fixed as it's too hard to rollback. Nothing in this issue that I can see says that it's fixed.
            Hide
            laurin1 Keith Davis added a comment -

            Oh, you mean because of this:

            "In those cases, the solution seems to have been to update to token-macro 2.14 with its minimum dependency"

            I don't see how that is possible as I opened  this issue on 1/18 and 2.14 was released on 1/6.

             

            Show
            laurin1 Keith Davis added a comment - Oh, you mean because of this: "In those cases, the solution seems to have been to update to token-macro 2.14 with its minimum dependency" I don't see how that is possible as I opened  this issue on 1/18 and 2.14 was released on 1/6.  
            Hide
            laurin1 Keith Davis added a comment -

            Ok, maybe you mean because of this?

             

            Show
            laurin1 Keith Davis added a comment - Ok, maybe you mean because of this?  
            Hide
            laurin1 Keith Davis added a comment -

            Yea, that fixed it, thanks.

            Show
            laurin1 Keith Davis added a comment - Yea, that fixed it, thanks.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              laurin1 Keith Davis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: