gradle-ssh-plugin

Gradle SSH Plugin

APACHE-2.0 License

Stars
319
Committers
12

Bot releases are visible (Hide)

gradle-ssh-plugin - 1.0.0

Published by int128 almost 10 years ago

Released on 2014-12-31

  • #134 #135 Migrate to Groovy SSH 1.0.0
  • New Feature
    • Prepend host name to console log

No backward compatible changes

sshexec is no longer supported. Use ssh.run instead.

task example << {
  // FIXME: sshexec is no longer supported
  sshexec {
    session(...) {...}
  }

  // use ssh.run instead
  ssh.run {
    session(...) {...}
  }
}

ssh {} is no longer supported. Use ssh.settings {} instead.

// FIXME: ssh is no longer supported
ssh {
  knownHosts = allowAnyHosts
}

// use ssh.settings instead
ssh.settings {
  knownHosts = allowAnyHosts
}
gradle-ssh-plugin - 0.4.6

Published by int128 almost 10 years ago

Released on 2014-12-05

  • #132 Bump to groovy-ssh 0.1.9
  • Enhancement
    • Add session() with var args and a closure such as session(remote1, remote2) {...}
  • Improvement
    • Show contextual message on SFTP error
gradle-ssh-plugin - 0.4.5

Published by int128 almost 10 years ago

Released on 2014-11-12

  • #130 Bump to groovy-ssh 0.1.7
  • Improvement
    • #111 Build for running on Java 6 or later (thanks to @dragan-sassler and @victorott)
gradle-ssh-plugin - 0.4.4

Published by int128 almost 10 years ago

Released on 2014-11-08

  • #129 Bump to groovy-ssh 0.1.6
  • Bug fix
    • #127 Fix put() fails if destination is a directory and not empty (thanks to @jigarzon)
  • Enhancement
    • Show SFTP error message
gradle-ssh-plugin - 0.4.3

Published by int128 almost 10 years ago

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.
gradle-ssh-plugin - 0.4.2

Published by int128 about 10 years ago

Released on 2014-10-08

  • Improvement
    • Upgrade to Gradle 2.1
gradle-ssh-plugin - 0.4.1

Published by int128 about 10 years ago

Released on 2014-09-29

  • Improvement
    • #117 Add a test of executeSudo as another user
    • #118 Published to Gradle Plugin Portal (v4)
    • #120 Use groovy-ssh library
    • Test on JDK 8u5 and 7u60
    • Test on Gradle 2.1 and 2.0

No backward compatible changes

Operation setting outputLogLevel and errorLogLevel have been removed.

Key Type Description
outputLogLevel LogLevel Log level of the standard output on the command or shell execution. Default is LogLevel.QUIET.
errorLogLevel LogLevel Log level of the standard error on the command or shell execution. Default is LogLevel.ERROR.

Instead use logging setting to toggle logging output.

gradle-ssh-plugin - 0.3.12

Published by int128 about 10 years ago

Released on 2014-09-15

gradle-ssh-plugin - 0.4.0

Published by int128 about 10 years ago

Released on 2014-08-31

  • Based on 0.3.11
  • Improvement
    • #102 Upgrade Gradle dependencies and remove old dependencies
    • #108 Separate the plugin and core (work in progress)
  • Known issue
gradle-ssh-plugin - 0.3.11

Published by int128 about 10 years ago

Released on 2014-08-29

This release can be run on Gradle 1.x and 2.0 (tested by #114).

  • Bug fixes
    • #105 #106 File transfer eventually fails
    • #107 Fix cleanup method in tests
    • #112 Fix secure random egd to avoid slow tests on Linux
  • Improvement
    • #113 Reduce JSch verbose log
    • Fix level of verbose log
    • User friendly string representation (Proxy and Remote)
    • Additionally test on Java 8
gradle-ssh-plugin - 0.3.10

Published by int128 over 10 years ago

Released on 2014-06-25

This release can be run on Gradle 1.x and 2.0 (tested by #109).

  • Enhancement
    • #103 #104 Add JSch logging (thanks to @mrniko)
  • Improvement
    • Prepare for Gradle 2.0
      • Upgrade to JSch 0.1.51
      • Fix infinite loop (tested on Gradle 2.0-rc-1)
      • Fix compile error of shell method (tested on Gradle 2.0-rc-1)
gradle-ssh-plugin - 0.3.9

Published by int128 over 10 years ago

Released on 2014-06-07

  • Enhancement
    • #88 #93 Add HTTP/SOCKS proxy support (thanks to @mlipper)
gradle-ssh-plugin - 0.3.8

Published by int128 over 10 years ago

Released on 2014-05-30

  • Bug Fix
    • #98 #101 Fix the error if the parent project does not apply the plugin (thanks to @mauromol)
  • Enhancement
    • #96 Add session() method with remote parameters
    • #94 #100 Change sshexec() method to return the result
  • Improvement
    • #95 Upgrade to Gradle 1.12
gradle-ssh-plugin - 0.3.7

Published by int128 over 10 years ago

Released on 2014-05-19

  • Enhancement
    • #92 #90 Add File object(s) support to file transfer methods (thanks to @mauromol)
  • Improvement
    • Add coverage report of each test
    • Redirect or discard verbose output on Travis build
gradle-ssh-plugin - 0.3.6

Published by int128 over 10 years ago

Released on 2014-05-14

  • Bug fix
    • #89 #91 Fix error using allowAnyHosts in the remote container
gradle-ssh-plugin - 0.3.5

Published by int128 over 10 years ago

Released on 2014-05-12

  • Enhancement
    • #72 Add a feature to extend DSL syntax
  • Bug Fix
    • #84 Could not set user in global settings
  • Improvement
    • #85 Add "archiveDependencies" task for offline execution (thanks to @nobusue)
    • Refactor package structure
    • Add assertion to script boundary classes
    • Replace TupleConstructor with explicit constructor and add assertion
    • #81 Split acceptance tests into each categories
gradle-ssh-plugin - 0.3.4

Published by int128 over 10 years ago

Released on 2014-04-25

  • Bug Fix
    • #82 Fix issue on Java 7 and server with Kerberos activated (thanks to @KristianLund1986)
gradle-ssh-plugin - 0.3.3

Published by int128 over 10 years ago

Released on 2014-04-21.

  • DSL change
    • Task specific settings was given in the task closure, but now should be surrounded by ssh closure of the task.
  • Enhancement
    • #79 Add support inheritance of settings
gradle-ssh-plugin - 0.3.2

Published by int128 over 10 years ago

Released on 2014-04-08.

  • Enhancement
    • #74 Support file transfer of a directory (thanks to @strindberg)
gradle-ssh-plugin - 0.3.1

Published by int128 over 10 years ago

Released on 2014-03-30.

  • DSL change
    • This release contains DSL specification change for stream interaction support and callback support. The closure argument of execute was used for stream interaction support, but now it is used for callback.
  • Enhancement
    • #31 #71 Add callback support for command execution (thanks to @thokari)