Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error report #24

Closed
ibnbay00 opened this issue Jul 26, 2017 · 2 comments
Closed

Error report #24

ibnbay00 opened this issue Jul 26, 2017 · 2 comments

Comments

@ibnbay00
Copy link

ibnbay00 commented Jul 26, 2017

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?

@hnq90
Copy link

hnq90 commented Sep 8, 2017

@ibnbay00 You should raise an exception when command's status code is different than 0.

@sabw8217
Copy link
Contributor

Yes, raise an exception if you want the job to be marked as a failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants