-
Notifications
You must be signed in to change notification settings - Fork 730
Description
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: """
Build Status: ${currentBuild.result ?: 'UNKNOWN'}
Build Details:
1. Job Name: ${env.JOB_NAME}
2. Build Number: ${env.BUILD_NUMBER}
Next Steps:
1. Review the Allure report:
${env.BUILD_URL}allure
2. Review the HTML report (attached to this email)
${env.BUILD_URL}artifact/report.html
3. Check Jenkins build details:
${env.BUILD_URL}
4. Analyze test results and logs
5. Take necessary actions based on findings
Note: If the status is UNSTABLE, it means the build completed but there might be test failures or warnings that need attention.
Please investigate and address any issues found in the test results or build logs.
""",
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
Originally reported by sujitpe, imported from: After email ext plugin upgrade and jenkins upgrade not able to send email
- status: Open
- priority: Blocker
- component(s): email-ext-plugin
- resolution: Unresolved
- votes: 0
- watchers: 3
- imported: 20251211-193728
Raw content of original issue
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