rebuilt script structure#3

rebuilt script structure#3
This commit is contained in:
psycho 2020-11-09 14:53:35 +01:00
parent 54ffeb1172
commit 41e6808d48

2
Jenkinsfile vendored
View File

@ -188,7 +188,7 @@ def post_build()
} }
} }
def notify() def handle_failure()
{ {
def body_text = "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}:<br>Check console output at ${BUILD_URL} to view the results." def body_text = "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}:<br>Check console output at ${BUILD_URL} to view the results."
def subject_text = "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}!" def subject_text = "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}!"