Throw after setting failure check status
This commit is contained in:
parent
e68a84b851
commit
bb3021dd4c
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user