From 41e6808d48adc595c19766bf23f45f8aa0f48ee7 Mon Sep 17 00:00:00 2001 From: psycho Date: Mon, 9 Nov 2020 14:53:35 +0100 Subject: [PATCH] rebuilt script structure#3 rebuilt script structure#3 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3b662be..bd4e31d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -188,7 +188,7 @@ def post_build() } } -def notify() +def handle_failure() { def body_text = "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}:
Check console output at ${BUILD_URL} to view the results." def subject_text = "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}!"