1.0.2
Released on 2015-02-04
- #140 Bump to Groovy SSH 1.0.3
- New Feature
- Add the new syntax to put a content into the remote file. See the user guide for details.
// specify a file path, File object or Interable<File>
put file: 'local_file', into: '/remote/file'
put file: buildDir, into: '/remote/folder'
put files: files('local_file1', 'local_file2'), into: '/remote/folder'
// specify a string
put text: 'hello world', into: '/remote/script.sh'
// specify a byte array
put bytes: [0xff, 0xff] as byte[], into: '/remote/fixture.dat'