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: “...”)
if (exitCode != 0 && exitCode != 3010) {
error(“...”)
}
// else: continue in pipeline...
HTH Reinhold
P.S.: Maybe, however, you want to double check that his special exit code is really okay/acceptable…