From ffbd34f63911ddc08b4a9252ee2174a63eec399e Mon Sep 17 00:00:00 2001 From: Jacob Williams Date: Wed, 25 Nov 2020 10:38:39 -0700 Subject: [PATCH] Update Jenkins file --- Jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index ae7f4c9d7..5373e5da7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,6 +33,14 @@ pipeline { post { success { archiveArtifacts artifacts: 'build/libs/*.jar' + mail to: env.BUILD_RESULT_EMAIL, + subject: "Build Success: ${currentBuild.fullDisplayName}", + body: "Build ${env.BUILD_URL} was successful." + } + failure { + mail to: env.BUILD_RESULT_EMAIL, + subject: "Build Failed: ${currentBuild.fullDisplayName}", + body: "Build ${env.BUILD_URL} failed." } } } \ No newline at end of file