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