Skip to content

Commit

Permalink
[CI] Report error in the catch section (#22297) (#22308)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Nov 2, 2020
1 parent c900351 commit 4585e5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,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)
Expand Down

0 comments on commit 4585e5d

Please sign in to comment.