***how to check script success or fail after build with command line? ***

how to check script success or fail after build with command line?

After running the script, I want to build the project only if I succeed.

By the way, I don’t know how to confirm the success on the server.

you can check the exit code of KRE.
a successful execution should exit with 0 (no error)

1 Like

@sysad83
Please refer to our document about the exit code:
https://docs.katalon.com/docs/katalon-runtime-engine/command-syntax-command-lineconsole-mode-execution#ariaid-title1

1 Like