Hyper.sh Slaves Plugin allows to execute a jenkins job inside Hyper.sh container.
When Jenkins Master build a Jenkins job, it will start a Hyper.sh container as a Jenkins Slave node, The Slave agent connects to Jenkins Master via JNLP.
The Hyper.sh container will be destroyed after Jenkins job is finished.
Compare Hyper.sh Slaves Plugin with Amazon EC2 Plugin and DigitalOcean Plugin.
Hyper.sh Slaves Plugin can optimize performance and cost:
- Startup Slave Node faster:
3~10seconds - Cheaper to run Hyper.sh container: per
secondbilling
To view the detail, please click here.
- Jenkins Server
2.7.4 LTS/2.19.3 LTS:
- install tool:
hyper client - install plugin:
Hyper.sh Slaves Plugin - assign
IP Address: Jenkins Server requires a public IP, so Jenkins Agent can connect to it.
- Hyper.sh Credential: Generate API Credential
- Docker image: (build environment)
hyperhq/hykins is a pre-built docker image,
It's based on jenkins, the following contents has been installed:
To Run Jenkins Server in Hyper.sh Cloud, please click here.
Here are some examples:
hyperhq/jenkins-slave-centos- based on centos:7.2.1511, Dockerfile
hyperhq/jenkins-slave-golang- for build golang project Dockerfile
jenkins-slave-python- for build python project Dockerfile
jenkins-slave-php- for build php project Dockerfile
To find all example images, please see this