gradle-ssh-plugin

Gradle SSH Plugin provides remote execution and file transfer capabilities

License

License

Categories

Categories

IDE Development Tools Gradle Build Tools
GroupId

GroupId

org.hidetake
ArtifactId

ArtifactId

gradle-ssh-plugin
Last Version

Last Version

2.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

gradle-ssh-plugin
Gradle SSH Plugin provides remote execution and file transfer capabilities
Project URL

Project URL

https://github.com/int128/gradle-ssh-plugin.git
Source Code Management

Source Code Management

https://github.com/int128/gradle-ssh-plugin.git

Download gradle-ssh-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/org.hidetake/gradle-ssh-plugin/ -->
<dependency>
    <groupId>org.hidetake</groupId>
    <artifactId>gradle-ssh-plugin</artifactId>
    <version>2.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.hidetake/gradle-ssh-plugin/
implementation 'org.hidetake:gradle-ssh-plugin:2.2.0'
// https://jarcasting.com/artifacts/org.hidetake/gradle-ssh-plugin/
implementation ("org.hidetake:gradle-ssh-plugin:2.2.0")
'org.hidetake:gradle-ssh-plugin:jar:2.2.0'
<dependency org="org.hidetake" name="gradle-ssh-plugin" rev="2.2.0">
  <artifact name="gradle-ssh-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.hidetake', module='gradle-ssh-plugin', version='2.2.0')
)
libraryDependencies += "org.hidetake" % "gradle-ssh-plugin" % "2.2.0"
[org.hidetake/gradle-ssh-plugin "2.2.0"]

Dependencies

runtime (1)

Group / Artifact Type Version
org.hidetake : groovy-ssh jar 2.2.0

Project Modules

There are no modules declared in this project.

Gradle SSH Plugin CircleCI Gradle Status

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.

Versions

Version
2.2.0
2.1.2
2.1.1
2.1.0
2.0.0
1.6.0
1.5.1
1.5.0
1.4.0
1.3.0
1.2.0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.3.12
0.3.11
0.3.10
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3