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 5af7537  build fails but tests pass, why?
5af7537 is described below

commit 5af75370d94866be67d0759db169c7babe70abc4
Author: tibordigana <[email protected]>
AuthorDate: Mon Nov 15 21:45:30 2021 +0100

    build fails but tests pass, why?
---
 Jenkinsfile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 67c27d6..79293c3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -33,7 +33,7 @@ properties(
 final def oses = ['linux':'ubuntu && !H48', 'windows':'Windows']
 final def mavens = env.BRANCH_NAME == 'master' ? ['3.6.x', '3.2.x'] : ['3.6.x']
 // all non-EOL versions and the first EA
-final def jdks = [16] // [16, 11, 8, 7]
+final def jdks = [8] // [16, 11, 8, 7]
 
 final def options = ['-e', '-V', '-B', '-nsu', '-P', 'run-its']
 final def goals = ['clean', 'install']
@@ -115,11 +115,7 @@ timeout(time: 12, unit: 'HOURS') {
         currentBuild.result = 'FAILURE'
         throw e
     } finally {
-        try {
-          jenkinsNotify()
-        } catch (Throwable t) {
-          println "Throwable: ${t}"
-        }
+        jenkinsNotify()
     }
 }
 

Reply via email to