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

Add a new executeCommand variation, that returns the Channel #26

Merged
merged 1 commit into from
Jun 25, 2012

Conversation

jhansche
Copy link
Member

This variation returns the SSH Channel, giving access to all 3 streams
and the exit status.

This is just a convenience change. I'm making use of the gerrit-events module in a separate project (a JIRA plugin, not related to Jenkins), and this change allows the plugin to detect when there was an error while running a command. Current implementation does not allow for obtaining the stderr response, and does not return the exit status code.

This variation returns the SSH Channel, giving access to all 3 streams
and the exit status.
@buildhive
Copy link

Jenkins » gerrit-trigger-plugin #19 SUCCESS
This pull request looks good
(what's this?)

rsandell added a commit that referenced this pull request Jun 25, 2012
Add a new executeCommand variation, that returns the Channel
@rsandell rsandell merged commit 9ac3173 into jenkinsci:master Jun 25, 2012
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

Successfully merging this pull request may close these issues.

3 participants