Hyper_ Slaves Plugin
allows to execute a jenkins job inside Hyper_ container.
When Jenkins Master build a Jenkins job, it will start a Hyper_ container
as a Jenkins Slave node
, The Slave agent connects to Jenkins Master via JNLP
.
The Hyper_ container will be destroyed after Jenkins job is finished.
Compare Hyper_ Slaves Plugin
with Amazon EC2 Plugin
and DigitalOcean Plugin
.
Hyper_ Slaves Plugin
can optimize performance and cost:
- Startup Slave Node faster:
3~10
seconds - Cheaper to run Hyper_ container: per
second
billing
To view the detail, please click here.
- Jenkins Server
2.7.x LTS
:
- install tool:
hyper client
- install plugin:
Hyper_ Slaves Plugin
- assign
IP Address
: Jenkins Server requires a public IP, so Jenkins Agent can connect to it.
- Hyper_ Credential: Generate API Credential
- Docker image: (build environment)
hyperhq/hyperkins
is a pre-built docker image,
It's based on jenkins:2.7.4
, the following contents has been installed:
To Run Jenkins Server in Hyper_ 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