Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

How can I get return code of a script called from previous step(build with shell)? #3828

biyuan123 ·

Hello,

I have a step with command, which called a script, any method to get the return code?

Thanks,
Biyuan

  • replies 2
  • views 377
  • stars 0
robinshen ADMIN ·

steps.get("commandStepName").returnCode will do

biyuan123 ·

Thank you so much, it works!