Closed ibnbay00 closed 5 years ago
I test error on running batch/shell file. but job execution status is "Success" and Result is: { "returncode": 1 } Can I print the error on shell script to result trough a Job argument?
{ "returncode": 1 }
And what best practice argument for job shell script?
@ibnbay00 You should raise an exception when command's status code is different than 0.
Yes, raise an exception if you want the job to be marked as a failure.
I test error on running batch/shell file. but job execution status is "Success" and Result is:
{ "returncode": 1 }
Can I print the error on shell script to result trough a Job argument?And what best practice argument for job shell script?