|
@@ -61,13 +61,13 @@ pipeline {
|
|
|
failure {
|
|
|
mail charset: 'UTF-8',
|
|
|
subject: "Jenkins build error: ${BUILD_URL}",
|
|
|
- to: "${mailto}"
|
|
|
+ to: "${mailto}",
|
|
|
body: "<b>ATTENTION!!!</b> <b><br> Jenkins job failed !!!\n\n <b><br>Project Name:</b> ${env.JOB_NAME} <b><br>\nBuild Number:</b> ${env.BUILD_NUMBER} <b><br>\nStage Name:</b> Publish <b><br>\nURL Build:</b> ${env.BUILD_URL}"
|
|
|
}
|
|
|
success {
|
|
|
mail charset: 'UTF-8',
|
|
|
subject: "Jenkins build USCCESS: ${BUILD_URL}",
|
|
|
- to: "${mailto}"
|
|
|
+ to: "${mailto}",
|
|
|
body: "<b>Congradulations!!!</b> <b><br> Jenkins job failed !!!\n\n <b><br>Project Name:</b> ${env.JOB_NAME} <b><br>\nBuild Number:</b> ${env.BUILD_NUMBER} <b><br>\nStage Name:</b> Publish <b><br>\nURL Build:</b> ${env.BUILD_URL}"
|
|
|
}
|
|
|
}
|