Hi Charles,
I guess you are executing the installer in the pipeline via “sh” step: thus,
you will need to catch the exit/return code (instead of output) from “sh” step
and script the logic based on the allowed bad exit code; for example:
def exitCode = script.sh(returnStatus: true, script: “...
In my pipeline, after installation, there is a pending reboot. Installer
return 3010
Pipeline failed:
ERROR: script returned exit code 3010
How can I tell pipeline to ignore code 3010 and goto next stage?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Us