This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch jenkins
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/jenkins by this push:
     new 62009cc  build fails but tests pass, why?
62009cc is described below

commit 62009cc7a0d44a2f7b2b91c7e4bc6ae9a4be0108
Author: tibordigana <[email protected]>
AuthorDate: Sun Nov 14 22:29:50 2021 +0100

    build fails but tests pass, why?
---
 Jenkinsfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 207c57f..41480ea 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -115,7 +115,11 @@ timeout(time: 12, unit: 'HOURS') {
         currentBuild.result = 'FAILURE'
         throw e
     } finally {
-        //jenkinsNotify()
+        try {
+          jenkinsNotify()
+        } catch (Throwable t) {
+          println "Throwable: ${t}"
+        }
     }
 }
 

Reply via email to