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

Jenkins Email Extension plugin not working properly using jenkins 2.289.2

    • 2.14

      Email Extension plugin failing to send emails with the content of Jenkins environment variables .

      I have attached the configuration of a job for post build here. We are using jenkins 2.289.2.

       Please advise

      Following how my configuration looks like
       

      Editable email configuration project level(picture attached):

      $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS.<br/>
      <br/>
      Check console <a href="$BUILD_URL">output</a> to view full results.<br/>
      If you cannot connect to the build server, check the attached logs.<br/>
      <br/>
      --<br/>
      There are ${TEST_COUNTS, var="total"} total tests of which ${TEST_COUNTS, var="fail"} test(s) failed.

       

      After successful build we are getting email like below (picture attached).

          [JENKINS-66176] Jenkins Email Extension plugin not working properly using jenkins 2.289.2

          Nandlal created issue -
          Nandlal made changes -
          Attachment New: image-2021-07-20-11-56-54-470.png [ 55219 ]
          Nandlal made changes -
          Description Original: Email Extension plugin failing to send emails with the content of Jenkins environment variables after the Jenkins update from 2.263.3 LTS to 2.277.3. Following how my configuration looks like
           

          *Editable email configuration project level(picture attached):*

          Project Reply-To List: $DEFAULT_REPLYTO

          Content Type: HTML

          Default Subject: $DEFAULT_SUBJECT _which is $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!_

          Default Content : ${SCRIPT, template="email-template.groovy"}

           

          *After successful build I am getting email like below (picture attached).*

          I am not sure why I am getting email with variable names but not with its content.It was working perfectly before Jenkins upgrade. Any help appreciated.
          New: Email Extension plugin failing to send emails with the content of Jenkins environment variables .

          We are using 

           

          Following how my configuration looks like
            

          *Editable email configuration project level(picture attached):*

          $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS.<br/>
          <br/>
          Check console <a href="$BUILD_URL">output</a> to view full results.<br/>
          If you cannot connect to the build server, check the attached logs.<br/>
          <br/>
          --<br/>
          There are ${TEST_COUNTS, var="total"} total tests of which ${TEST_COUNTS, var="fail"} test(s) failed.

           

          *After successful build we are getting email like below (picture attached).*

          !image-2021-07-20-11-56-54-470.png!
          Nandlal made changes -
          Attachment New: VHASLCQA Config [Jenkins].html [ 55220 ]
          Nandlal made changes -
          Description Original: Email Extension plugin failing to send emails with the content of Jenkins environment variables .

          We are using 

           

          Following how my configuration looks like
            

          *Editable email configuration project level(picture attached):*

          $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS.<br/>
          <br/>
          Check console <a href="$BUILD_URL">output</a> to view full results.<br/>
          If you cannot connect to the build server, check the attached logs.<br/>
          <br/>
          --<br/>
          There are ${TEST_COUNTS, var="total"} total tests of which ${TEST_COUNTS, var="fail"} test(s) failed.

           

          *After successful build we are getting email like below (picture attached).*

          !image-2021-07-20-11-56-54-470.png!
          New: Email Extension plugin failing to send emails with the content of Jenkins environment variables .

          I have attached the configuration of a job for post build here. We are using jenkins 2.289.2.

           Please advise

          Following how my configuration looks like
            

          *Editable email configuration project level(picture attached):*

          $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS.<br/>
           <br/>
           Check console <a href="$BUILD_URL">output</a> to view full results.<br/>
           If you cannot connect to the build server, check the attached logs.<br/>
           <br/>
           --<br/>
           There are ${TEST_COUNTS, var="total"} total tests of which ${TEST_COUNTS, var="fail"} test(s) failed.

           

          *After successful build we are getting email like below (picture attached).*

          !image-2021-07-20-11-56-54-470.png!
          Nandlal made changes -
          Summary Original: Jenkins Email Extension plugin not working properly after latest Jenkins update 2.277.3 LTS New: Jenkins Email Extension plugin not working properly using jenkins 2.289.2
          Nandlal made changes -
          Environment Original: Jenkins 2.277.3, email-ext 2.77, OS- ubuntu 18.04 New: jenkins 2.289.2, email-ext 2.77, OS- windows 2016
          Nandlal made changes -
          Environment Original: jenkins 2.289.2, email-ext 2.77, OS- windows 2016 New: jenkins 2.289.2, email-ext 2.77, OS- windows 2012 R2
          Nandlal made changes -
          Environment Original: jenkins 2.289.2, email-ext 2.77, OS- windows 2012 R2 New: jenkins 2.289.2, email-ext 2.83, OS- windows 2012 R2
          Basil Crow made changes -
          Component/s New: token-macro-plugin [ 15832 ]
          Component/s Original: email-ext-plugin [ 15538 ]
          Basil Crow made changes -
          Link New: This issue duplicates JENKINS-64555 [ JENKINS-64555 ]
          Basil Crow made changes -
          Released As New: 2.14
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            Unassigned Unassigned
            nandlalyadav57 Nandlal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: