Deploy test

This commit is contained in:
Juan Ferrer 2019-01-08 16:54:27 +01:00
parent 60098c0e08
commit 03e4cbbd2a
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -60,16 +60,16 @@ try {
if (env.GIT_COMMITTER_EMAIL) { if (env.GIT_COMMITTER_EMAIL) {
def status def status
def body = "<p>Check status at ${env.BUILD_URL}</p>" def body = "Check status at ${env.BUILD_URL}"
if (buildError) { if (buildError) {
status = 'Failed' status = 'Failed'
body += "<p>${buildError.getMessage()}</p>" body += "\n\n${buildError.getMessage()}"
} else { } else {
status = 'Success' status = 'Success'
} }
emailext( email(
to: env.GIT_COMMITTER_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