Skip to content

int128/groovy-ssh

Repository files navigation

Groovy SSH CircleCI Gradle Status

Groovy SSH is an automation tool based on DSL providing the remote command execution and file transfer.

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.

Unit test

We can run the unit test as follows:

./gradlew :core:check

Server integration test

We can run the server integration test using Apache MINA SSHD server as follows:

./gradlew :server-integration-test:check

CLI test

We can run the integration test of CLI as follows:

./gradlew :cli:check

OS integration test

We can run the OS integration test using OpenSSH server as follows:

# Setup SSH server on Docker
./os-integration-test/setup-ssh.sh

# Run test
./gradlew :os-integration-test:check

Gradle SSH Plugin integration test

We can run the test with Gradle SSH Plugin. See plugin-integration/run-plugin-integration-test.sh for details.

If you are planning to release with specification change breaking backward compatibility, create groovy-ssh-acceptance-test branch on Gradle SSH Plugin to pass the acceptance test.

Release

Push a versioned tag to GitHub and CI will upload the artifact to Bintray.

License

Copyright 2012-2016 Hidetake Iwata

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.