From fbf9761ddb47fccf40bfa973dc513489e6e901bb Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 2 Nov 2020 09:09:30 +0000 Subject: [PATCH] [CI] Report error in the catch section (#22297) (#22309) --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 853c7b3212c3..be00ae1f4e94 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -341,6 +341,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)