-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Blocker
-
Component/s: email-ext-plugin
-
None
I got the following error
Sending email to: jayanth.r@in.verizon.com himanshu.singh@in.verizon.com velagala.ganesh.srinivasa.reddy@in.verizon.com upendra.singh@in.verizon.com vinod.marga.bhat@verizon.com*12:10:02* Not sent to the following valid addresses: jayanth.r@in.verizon.com himanshu.singh@in.verizon.com velagala.ganesh.srinivasa.reddy@in.verizon.com upendra.singh@in.verizon.com vinod.marga.bhat@verizon.com
and code we used in jenkinsfile is emailext(
          subject: "Build Notification: ${env.JOB_NAME} - ${env.BUILD_NUMBER}",
          body: """
            <html>
             <body>
              <p>Build Status: ${currentBuild.result ?: 'UNKNOWN'}</p>
              <p>Build Details:<br>
               1. Job Name: ${env.JOB_NAME}<br>
               2. Build Number: ${env.BUILD_NUMBER}</p>
              <p>Next Steps:<br>
               1. Review the Allure report:<br>
                <a href="${env.BUILD_URL}allure">${env.BUILD_URL}allure</a><br>
               2. Review the HTML report (attached to this email)<br>
                <a href="${env.BUILD_URL}artifact/report.html">${env.BUILD_URL}artifact/report.html</a><br>
               3. Check Jenkins build details:<br>
                <a href="${env.BUILD_URL}">${env.BUILD_URL}</a>
               4. Analyze test results and logs<br>
               5. Take necessary actions based on findings</p>
              <p>Note: If the status is UNSTABLE, it means the build completed but there might be test failures or warnings that need attention.</p>
              <p>Please investigate and address any issues found in the test results or build logs.</p>
             </body>
            </html>
          """,
          mimeType: 'text/html',
          to: 'jayanth.r@in.verizon.com, himanshu.singh@in.verizon.com, velagala.ganesh.srinivasa.reddy@in.verizon.com, upendra.singh@in.verizon.com, vinod.marga.bhat@verizon.com',
          attachmentsPattern: 'report.html',
          attachLog: true
        )..
it was working fine with email-ext:1876.v28d8d38315b_d and after upgrade to email-ext:1925.v1598902b_58dd..it is not working..Also we have upgrade jenkins from jenkins/jenkins:2.479.2-jdk17 toÂ
2.516.2-jdk17
Â