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',