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

remoteSession can't return values anymore #79

Open
longwa opened this issue Sep 23, 2016 · 2 comments
Open

remoteSession can't return values anymore #79

longwa opened this issue Sep 23, 2016 · 2 comments

Comments

@longwa
Copy link

longwa commented Sep 23, 2016

In 0.9.18, remoteSession could return values returned by commands executed.

However, the remoteSession calls were changed from def to void as part of the CompileStatic changes, which broke the ability to return anything from the executeSession closure.

The three remoteSession calls in SshDslEngine.groovy should return Object, not void.

@longwa
Copy link
Author

longwa commented Nov 16, 2016

Any plans to address this, I can submit a pull request if you want?

@aadamovich
Copy link
Member

@longwa are you still up to create a pull request for this? it will be very helpful

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

2 participants