Gradle SSH Plugin
![Gradle Status](https://camo.githubusercontent.com/3dd0fbb5713f517968f141b4b89246b5958ecc543d18b85786d2f27ee51f3ea7/68747470733a2f2f677261646c657570646174652e61707073706f742e636f6d2f696e743132382f677261646c652d7373682d706c7567696e2f7374617475732e7376673f6272616e63683d6d6173746572)
Gradle SSH Plugin provides SSH facilities such as command execution or file transfer on Gradle.
https://gradle-ssh-plugin.github.io
Contributions
This is an open source software licensed under the Apache License Version 2.0. Feel free to open issues or pull requests.
Development
Gradle SSH Plugin internally uses Groovy SSH library. It depends on JSch.
The document is maintained on the repository of Groovy SSH.
Acceptance Test
We can run the acceptance test to verify behavior of the plugin on Gradle.
# Run sshd
./gradle-ssh-plugin/acceptance-test/fixture/run-sshd.sh
# Run the test
./gradlew :gradle-ssh-plugin:acceptance-test:test
# Stop sshd
docker stop sshd
Note that the test depends on int128/sshd and keys are hardcoded in .circleci/config.yml
.
You can regenerate keys by the following commands:
ssh-keygen -m PEM -t rsa -f keys/id_rsa
ssh-keygen -A -f keys/
Release
Push a versioned tag to GitHub and CI will upload the artifact to Bintray.