This plugin provides common functionality for integrating Jenkins with Hyper.sh.
Plugin currently supports the following features:
- Install hyper cli
- Set Hyper.sh credentials
- Test connection to your account.
- Jenkins
- hyper-commons
- Hyper.sh credential(get from https://console.hyper.sh)
Manage Jenkins -> Configure System -> Hyper.sh Config
-> Hyper.sh Access Key
-> Hyper.sh Secret Key
-> DockerHub Username
-> DockerHub Password
-> DockerHub Email
Manage Jenkins -> Configure System -> Hypercli Install
- java 1.8+
- maven 3+
$ mvn compile
compile + test
$ mvn test
output: target/hyper-commons.hpi
compile + test + package
$ mvn package
//skip test
$ mvn package -DskipTests
//start jenkins server
$ mvn hpi:run -Djetty.port=8090
//open jenkins web ui
http://<host_ip>:8090/jenkins
open Jenkins Web UI in web browser
get pre-build hyper-commons.hpi
Manage Jenkins -> Manage Plugins -> Advanced -> Upload Plugin
$ mvn release:prepare release:perform