Jenkins slave configured with nodeJS installed and Oracle Java 8 (JDK)
10K+
Start a Jenkins swarm slave into docker with nodejs
docker run -d heliostech/jenkins-slave-nodejs -master http://jenkins-server/ -username JENKINS_USER -password JENKINS_USER_KEY -executors 2 -labels "linux nodejs"
On the jenkins job configuration page, check the box "Restrict where this project can be run" and set the "Label expression" to a label assigned to the node (e.g., linux && nodejs)
You need the plugin EnvInject Plugin installed on the jenkins master.
Select "Inject environment variables to the build process" and set the "Properties File Path" to /etc/docker.properties
Display the available options with the following command:
docker run -it --rm heliostech/jenkins-slave-nodejs -help
This container is part of DevStack, a project to facilitate DevOps work with continuous integration and deployment environment ready to use.
Content type
Image
Digest
Size
373 MB
Last updated
over 9 years ago
docker pull heliostech/jenkins-slave-nodejs