diff --git a/helpers.groovy b/helpers.groovy index c0f7869..a5856f6 100644 --- a/helpers.groovy +++ b/helpers.groovy @@ -45,6 +45,7 @@ def stageWithChecks(String name, Closure body) { } catch (error) { sh "echo Stage $name failed with error: $error" setFailureCheck(name, name) + throw error } } }