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