From 278bda1c2d169cfb4b46e19c54464a632d7ac38b Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Wed, 22 Sep 2021 16:25:20 -0500 Subject: [PATCH] Remove finally block for junit Allow this to be gathered by Gradle enterprise since if build is up to date there will be no tests ran which causes failure. Additionally, Gradle Enterprise displays the tests better than Jenkins. --- Jenkinsfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e4d7729c0f..2c69945ee6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,8 +46,6 @@ try { } catch(Exception e) { currentBuild.result = 'FAILED: check' throw e - } finally { - junit '**/build/test-results/*/*.xml' } } }