-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
ISSUE-37945 output not populated on failure #37952
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This always includes output, but it is empty on failure.
ansibot
added
bug
This issue/PR relates to a bug.
community_review
In order to be merged, this PR must follow the community review workflow.
module
This issue/PR relates to a module.
needs_triage
Needs a first human triage before being processed.
owner_pr
This PR is made by the module's maintainer.
support:community
This issue/PR relates to code supported by the Ansible community.
labels
Mar 26, 2018
ryansb
removed
the
needs_triage
Needs a first human triage before being processed.
label
Mar 27, 2018
ansibot
added
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Apr 4, 2018
I'll merge this, then if you could create a cherry-picked PR http://docs.ansible.com/ansible/devel/community/development_process.html#backport-pull-request-process I'll merge that |
rebuild_merge |
ansibot
removed
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Apr 5, 2018
Thanks! Doing the cherrypicking now |
hogarthj
added a commit
to hogarthj/ansible
that referenced
this pull request
Apr 5, 2018
* ISSUE-37945 output not populated on failure This always includes output, but it is empty on failure. * handle the other failcases as well (cherry picked from commit 509f52a)
gundalow
pushed a commit
that referenced
this pull request
Apr 5, 2018
ilicmilan
pushed a commit
to ilicmilan/ansible
that referenced
this pull request
Nov 7, 2018
* ISSUE-37945 output not populated on failure This always includes output, but it is empty on failure. * handle the other failcases as well
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bug
This issue/PR relates to a bug.
community_review
In order to be merged, this PR must follow the community review workflow.
module
This issue/PR relates to a module.
owner_pr
This PR is made by the module's maintainer.
support:community
This issue/PR relates to code supported by the Ansible community.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This always includes output, but it is empty on failure.
SUMMARY
This always includes output in the dictionary returned.
To avoid duplicating data it is empty if there has been a failure, but this means that something like:
on a script does not give the confusing error of:
when there is an exception thrown by jenkins running the script.
Fixes #37945
ISSUE TYPE
COMPONENT NAME
jenkins_script
ANSIBLE VERSION
ADDITIONAL INFORMATION
With the changes in place the following type of response is gained instead