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…

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/C3D41C0B1D5991438F1A43F586F4B47F91713F83%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.

Reply via email to