From a8409a9a9e47a7077a1f928b57a40501fa813d5d Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 12 Mar 2020 21:52:18 -0400 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0884dab3c..42da8d05e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,8 @@ pipeline { sh './mvnw deploy' } } - post { + } + post { success { mail to: 'bit172@gmail.com', subject: "Successful Pipeline: ${currentBuild.fullDisplayName}", @@ -35,7 +36,6 @@ pipeline { subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", body: "Build Failure, location to build ${env.BUILD_URL}" } - } } }