|
@@ -98,13 +98,13 @@ pipeline {
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
}
|
|
}
|
|
- post {
|
|
|
|
- failure {
|
|
|
|
- mail charset: 'UTF-8',
|
|
|
|
- subject: "Jenkins build ERROR",
|
|
|
|
- mimeType: 'text/html',
|
|
|
|
- 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>\nURL Build:</b> ${RUN_DISPLAY_URL}"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ // post {
|
|
|
|
+ // failure {
|
|
|
|
+ // mail charset: 'UTF-8',
|
|
|
|
+ // subject: "Jenkins build ERROR",
|
|
|
|
+ // mimeType: 'text/html',
|
|
|
|
+ // 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>\nURL Build:</b> ${RUN_DISPLAY_URL}"
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
}
|
|
}
|