From 7407e6e7f426c9186c25e4e5b19fb58ccba71fdb Mon Sep 17 00:00:00 2001
From: Victoria Cherkas <87643948+victoria-cherkas@users.noreply.github.com>
Date: Thu, 7 Sep 2023 10:26:35 +0200
Subject: [PATCH] Update Jenkinsfile change post failure block to post
unsuccessful
---
testsuite/Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuite/Jenkinsfile b/testsuite/Jenkinsfile
index 0f1a9bc..ed4f1a2 100644
--- a/testsuite/Jenkinsfile
+++ b/testsuite/Jenkinsfile
@@ -26,7 +26,7 @@ pipeline {
}
}
post {
- failure {
+ unsuccessful {
mail bcc: '',
body: "Jenkins Failure
Project: ${env.JOB_NAME}
Build Number: ${env.BUILD_NUMBER}
Build URL: ${env.BUILD_URL}" ,
cc: "${EMAIL_TO_2}", charset: 'UTF-8', from: '', mimeType: 'text/html',