-
Notifications
You must be signed in to change notification settings - Fork 27
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
plugin doesn't detect a non zero exit status returned from minion cmd.run function #18
Comments
Thanks for reporting. I'll get on it |
Hmmm. It appears this isn't exposed through the salt-api. Here's the output from
So first we'll need salt-api updated as mentioned in saltstack/salt/issues/18510 |
So, salt CLI command receives the exit status from minion and exits correctly, but salt-api doesn't expose it to the caller, right? |
Yep. It looks that way. At least for 2015.8.8
|
The salt-api has been enhanced with the 2017.7 release, and this will be supported in the next release of the Jenkins plugin. |
Hell yeah !!! |
This was corrected in the 3.2.0 release. It should be available within the next 24 hours. |
Salt detects this well:
The plugin doesn't detect the error and continues the job.
It would rock if plugin detects this situation and fails the job (or not ? config parameter ?)
The text was updated successfully, but these errors were encountered: