Throw after setting failure check status

This commit is contained in:
Daniel Weissmall 2023-12-14 21:56:51 +03:00
parent e68a84b851
commit bb3021dd4c

View File

@ -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
}
}
}