int128/gradle-ssh-plugin — pull request #100 by int128 (2014-05-29 02:51:08+00:00)
Title: Sshexec return value

This pull request changes the sshexec() method to return a value of the last session closure.

```groovy
task example << {
def uname = sshexec {
session(remotes.localhost) {
execute 'uname'
}
}
}
```

If more than one sessions are given, the result of the last defined session is returned (not last executed one).