From 0e5b76b38b4213a8861da280b94935793aff1481 Mon Sep 17 00:00:00 2001 From: Muneeb Nezameddin <39063206+MNezameddin@users.noreply.github.com> Date: Mon, 16 Mar 2020 03:04:06 -0400 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e108ba49c..eb6d70f77 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,10 +19,7 @@ pipeline { stage('Deploy') { steps { echo 'Deploy' - } - } - } - post { + post { success { mail to: 'mnezam.31@gmail.com', subject: "Successful Pipeline", @@ -34,4 +31,7 @@ pipeline { body: "Something is wrong" } } + } + } + } }