From ed576aa0945c38c84d6656a374bc30ac19c9b9bf 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 6fff22bfa09..ace40657f2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -344,6 +344,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)