changes in file
This commit is contained in:
parent
68b3c7edb2
commit
95b6ef42f1
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
|
@ -95,22 +95,9 @@ pipeline {
|
|||
}
|
||||
|
||||
|
||||
// post {
|
||||
// failure {
|
||||
// mail body: "${env.JOB_NAME} (${env.BUILD_NUMBER}) ${env.projectName} build error " +
|
||||
// "is here: ${env.BUILD_URL}\nStarted by ${env.BUILD_CAUSE}" ,
|
||||
// from: env.emailFrom,
|
||||
// //replyTo: env.emailFrom,
|
||||
// subject: "${env.projectName} ${env.JOB_NAME} (${env.BUILD_NUMBER}) build failed",
|
||||
// to: env.emailTo
|
||||
// }
|
||||
// success {
|
||||
// mail body: "${env.JOB_NAME} (${env.BUILD_NUMBER}) ${env.projectName} build successful\n" +
|
||||
// "Started by ${env.BUILD_CAUSE}",
|
||||
// from: env.emailFrom,
|
||||
// //replyTo: env.emailFrom,
|
||||
// subject: "${env.projectName} ${env.JOB_NAME} (${env.BUILD_NUMBER}) build successful",
|
||||
// to: env.emailTo
|
||||
// }
|
||||
post {
|
||||
failure {
|
||||
echo "Send e-mail, when failed"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user