-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Minor
-
Component/s: workflow-cps-plugin
-
Environment:Jenkins ver. 2.60.1
Pipeline plugin ver. 2.5
For example:
Â
node {
try {
nonExistingStep()
} catch (e) {
echo "exception caught !!!"
}
}
catch block is not executed.
Exception "java.lang.NoSuchMethodError: No such DSL method 'nonExistingStep'" is thrown anyway and build is failed.
Â