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

Jenkins Email Extension plugin not working properly using jenkins 2.289.2

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      2.14

      Description

      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).

        Attachments

          Issue Links

            Activity

            nandlalyadav57 Nandlal created issue -
            nandlalyadav57 Nandlal made changes -
            Field Original Value New Value
            Attachment image-2021-07-20-11-56-54-470.png [ 55219 ]
            nandlalyadav57 Nandlal made changes -
            Description 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.
            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!
            nandlalyadav57 Nandlal made changes -
            Attachment VHASLCQA Config [Jenkins].html [ 55220 ]
            nandlalyadav57 Nandlal made changes -
            Description 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!
            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!
            nandlalyadav57 Nandlal made changes -
            Summary Jenkins Email Extension plugin not working properly after latest Jenkins update 2.277.3 LTS Jenkins Email Extension plugin not working properly using jenkins 2.289.2
            nandlalyadav57 Nandlal made changes -
            Environment Jenkins 2.277.3, email-ext 2.77, OS- ubuntu 18.04 jenkins 2.289.2, email-ext 2.77, OS- windows 2016
            nandlalyadav57 Nandlal made changes -
            Environment jenkins 2.289.2, email-ext 2.77, OS- windows 2016 jenkins 2.289.2, email-ext 2.77, OS- windows 2012 R2
            nandlalyadav57 Nandlal made changes -
            Environment jenkins 2.289.2, email-ext 2.77, OS- windows 2012 R2 jenkins 2.289.2, email-ext 2.83, OS- windows 2012 R2
            basil Basil Crow made changes -
            Component/s token-macro-plugin [ 15832 ]
            Component/s email-ext-plugin [ 15538 ]
            basil Basil Crow made changes -
            Link This issue duplicates JENKINS-64555 [ JENKINS-64555 ]
            basil Basil Crow made changes -
            Released As 2.14
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]

              People

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

                Dates

                Created:
                Updated:
                Resolved: