Commit Graph

2 Commits

Author SHA1 Message Date
Vojtech Juranek
40b23b8885 DBZ-5974 Use catchError instead of try/finally block
For scripted pipelines (on the contrary to declarative pipelines) the
build results has to be set manully if try/catch block is uses. As a
workaround `catchError` can be used as this step also sets the
`currectResult`.

See also
https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/#catcherror-catch-error-and-set-build-result-to-failure
2023-01-05 06:55:51 +01:00
Martin Medek
b9bf46dc4f DBZ-5678 fixing jenkins jobs to pass new teststuite introduced in jcasc repo 2022-11-09 10:44:04 +01:00