Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Execute Shell Script on linux ignores return code



  • Hi, I’m not able to intercept the error code form the command: SHCall (same issue that the one raised in 2018).
    Do you have any suggestions on what I am doing wrong ?. Thanks.

    Product: BuildMaster
    Version: 6.1.1

    Product: BuildMaster
    Version: 6.1.1



  • Hi,

    How would you like the error code handled? Would you like the option to store it in a variable, be used to determine success, or just logged somewhere? I believe we can add this by updating the Linux extension.

    As a workaround, you may be able to use the Exec operation, which already has exit code handling.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation