Deploy test
This commit is contained in:
parent
60098c0e08
commit
03e4cbbd2a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue