mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
Exception handing when rendering steps
This commit is contained in:
parent
1bc9ed4488
commit
bfd904d8b3
@ -329,7 +329,13 @@ for (step in steps) {
|
||||
}
|
||||
|
||||
for(step in stepDescriptors) {
|
||||
renderStep(step.key, step.value)
|
||||
try {
|
||||
renderStep(step.key, step.value)
|
||||
System.err << "[INFO] Step '${step.key}' has been rendered.\n"
|
||||
} catch(Exception e) {
|
||||
exceptionCaught = true
|
||||
System.err << "${e.getClass().getName()} caught while rendering step '${step}': ${e.getMessage()}.\n"
|
||||
}
|
||||
}
|
||||
|
||||
if(exceptionCaught) {
|
||||
|
Loading…
Reference in New Issue
Block a user