gradle-ssh-pluginGradle SSH Plugin

联合创作 · 2023-09-30 03:31

Gradle SSH Plugin CircleCI

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.

浏览 7
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报