Skip to content

0.4.3

Choose a tag to compare

@int128 int128 released this 23 Oct 11:17
· 1112 commits to master since this release

Released on 2014-10-23

  • #124 Bump to groovy-ssh 0.1.5
  • Enhancement
    • Improve logging setting to specify SLF4J, standard output and none (#122 thanks to @itoed)
    • Add outputStream and errorStream settings for forwarding to a file
  • Improvement
    • Remove server integration tests (already tested by groovy-ssh)
    • Fix log level of deprecation warning
    • Build on JDK 7u72

New feature

Operation setting outputStream and errorStream have been introduced for forwarding stream to a file.

Key Type Description
outputStream OutputStream If set, standard output of the remote command is sent to the stream.
errorStream OutputStream If set, standard error of the remote command is sent to the stream.

No backward compatible changes

Operation setting logging has been changed. If stdout is specified, console log is always shown even if log level is default.

Old version:

Key Type Description
logging Boolean If this is false, the logging of standard output and error is turned off, for such as hiding credential. Default is true.

New version:

Key Type Description
logging String If this is slf4j, console log of the remote command is sent to Gradle logger. If this is stdout, it is sent to standard output/error. If this is none, console logging is turned off. Defaults to slf4j.