From c45cd836612e82da5e2c1b3b9716b3d4523ab644 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 30 Oct 2020 13:24:06 +0000 Subject: [PATCH] [CI] Report error in the catch section (#22297) --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index f2f4ace9d3eb..f0f1b3e5e992 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -296,6 +296,7 @@ def withBeatsEnv(Map args = [:], Closure body) { } catch(err) { // Upload the generated files ONLY if the step failed. This will avoid any overhead with Google Storage upload = true + error("Error '${err.toString()}'") } finally { if (archive) { archiveTestOutput(testResults: testResults, artifacts: artifacts, id: args.id, upload: upload)