From 57a96e6fdf0f7d71ae93887ac80fa915a5362bbe Mon Sep 17 00:00:00 2001 From: Firassawan <35850933+Firassawan@users.noreply.github.com> Date: Mon, 9 Mar 2020 17:28:19 -0400 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8424e8829..191d87193 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,11 +22,10 @@ pipeline { } } } post { - success { - mail to:"firassawan@icloud.com", subject:"SUCCESS: ${currentBuild.fullDisplayName}", body: "Yay, we passed." - } - failure { - mail to:"firassawan@icloud.com", subject:"FAILURE: ${currentBuild.fullDisplayName}", body: "Boo, we failed." - } + failure { + mail to: 'firassawan@icloud.com', + subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", + body: "Something is wrong with ${env.BUILD_URL}" + } } }