Deploy test
This commit is contained in:
parent
60098c0e08
commit
03e4cbbd2a
|
@ -60,16 +60,16 @@ try {
|
|||
|
||||
if (env.GIT_COMMITTER_EMAIL) {
|
||||
def status
|
||||
def body = "<p>Check status at ${env.BUILD_URL}</p>"
|
||||
def body = "Check status at ${env.BUILD_URL}"
|
||||
|
||||
if (buildError) {
|
||||
status = 'Failed'
|
||||
body += "<p>${buildError.getMessage()}</p>"
|
||||
body += "\n\n${buildError.getMessage()}"
|
||||
} else {
|
||||
status = 'Success'
|
||||
}
|
||||
|
||||
emailext(
|
||||
email(
|
||||
to: env.GIT_COMMITTER_EMAIL,
|
||||
subject: "Pipeline: ${status}: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
|
||||
body: body
|
||||
|
|
Loading…
Reference in New Issue