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}" + } } }