#Deprecated Moved to https://github.com/jenkinsci/hyper-slaves-plugin
This plugin allows to execute a jenkins job inside Hyper_
container(s).
- hyper-commons-plugin
- Hyper_ credential (get from https://console.hyper.sh)
- Jenkins Server should have
public ip
You can specify customized build image, but it should contain java
and wget
/curl
java
(required): run slave agent(slave.jar) to connect Jenkins master through JNLP.wget
/curl
(optional): download slave.jar from jenkins master. This ensures that slave agent version matched with the master. Download will be skipped when wget/curl is missing.
Several recommend base images:
- openjdk:8-jdk
- jenkinsci/slave
- hyperhq/jenkins-slave-golang
Manage Jenkins -> Configure Global Security
-> Enable security: checked
-> TCP port for JNLP agents: Fixed 5000
Manage Jenkins -> Configure System -> Hyper Config
-> Access Key
-> Secret Key
Manage Jenkins -> Configure System -> Hypercli Install
-> Download Hypercli
Select build image(Recommended Container Size: >=S2
)
If job failed, please check the following log:
- Check the “Console Output” in “Build history” of Job
- Check the Node log
- Check the Hyper_ container log by execute “hyper logs <container_id>”
Then check the Node log(this will be deleted after job finished
)
The cause maybe Hyper_ container size is too small, or slave agent start failed.