| |
@@ -261,10 +261,6 @@
|
| |
def recipient = params.MAIL_ADDRESS
|
| |
def subject = "Jenkins job ${env.JOB_NAME} #${env.BUILD_NUMBER} failed."
|
| |
def body = "Build URL: ${env.BUILD_URL}"
|
| |
- if (env.PR_NO) {
|
| |
- subject = "Jenkins job ${env.JOB_NAME}, PR #${env.PR_NO} ${status}."
|
| |
- body += "\nPull Request: ${env.PR_URL}"
|
| |
- }
|
| |
emailext to: recipient, subject: subject, body: body
|
| |
} catch (e) {
|
| |
echo "Error sending email: ${e}"
|
| |
Send email notification about failed result for postmerge, trigger on
tag and greenwave promotion.