From d855a08237f6e669dfef1012f79fb46dc49f2789 Mon Sep 17 00:00:00 2001 From: Firassawan <35850933+Firassawan@users.noreply.github.com> Date: Mon, 9 Mar 2020 17:23:04 -0400 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index df01d0737..8424e8829 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,5 +21,12 @@ pipeline { sh './mvnw package' } } + } 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." + } } }