Deploy notification error test
This commit is contained in:
parent
9059d7a23d
commit
16b8190214
|
@ -17,7 +17,7 @@ try {
|
|||
|
||||
node {
|
||||
stage ('Checkout') {
|
||||
checkout scm
|
||||
heckout scm
|
||||
env.GIT_COMMITTER_EMAIL = sh (
|
||||
script: "git --no-pager show -s --format='%ae'",
|
||||
returnStdout: true
|
||||
|
@ -42,7 +42,6 @@ try {
|
|||
break;
|
||||
}
|
||||
|
||||
|
||||
env.COMPOSE_PROJECT_NAME = env.JOB_NAME.replace('/', '-');
|
||||
env.DOCKER_TLS_VERIFY = 1
|
||||
env.TAG = env.BRANCH_NAME
|
||||
|
@ -70,7 +69,7 @@ if (env.GIT_COMMITTER_EMAIL) {
|
|||
status = 'Success'
|
||||
}
|
||||
|
||||
mail(
|
||||
emailext(
|
||||
to: env.GIT_COMMITTER_EMAIL,
|
||||
subject: "Pipeline: ${status}: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
|
||||
body: body
|
||||
|
|
Loading…
Reference in New Issue