Specify an expected exit code.
If the exit code of the script execution returns this expected exit code, a build is scheduled.
By default, the expected exit code is '0' (normal execution).