Deploy fixes

This commit is contained in:
Juan Ferrer 2019-01-08 16:47:36 +01:00
parent 7f38627499
commit 9059d7a23d
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -59,7 +59,7 @@ try {
buildError = e buildError = e
} }
if (env.GIT_COMMIT_EMAIL) { if (env.GIT_COMMITTER_EMAIL) {
def status def status
def body = "<p>Check status at ${env.BUILD_URL}</p>" def body = "<p>Check status at ${env.BUILD_URL}</p>"
@ -71,7 +71,7 @@ if (env.GIT_COMMIT_EMAIL) {
} }
mail( mail(
to: env.GIT_COMMIT_EMAIL, to: env.GIT_COMMITTER_EMAIL,
subject: "Pipeline: ${status}: ${env.JOB_NAME} (${env.BUILD_NUMBER})", subject: "Pipeline: ${status}: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
body: body body: body
) )