From 1eb64652a3246c852541a8c6714cb89c5d34cb10 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Wed, 22 Sep 2021 16:24:39 -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 ac5aad52e6..989d2f6fc0 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' } } }