Skip to content

ZompLabs/jenkins-dind-jnlp-slave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Docker in Docker (DinD) JNLP slave image

Docker Stars Docker Pulls ImageLayers Size ImageLayers Layers

zomplabs/jenkins-dind-jnlp-slave

A Jenkins Docker in Docker slave using JNLP to establish connection.

See Jenkins Distributed builds for more info.

Make sure your ECS container agent is updated before running. Older versions do not properly handle the entryPoint parameter. See the entryPoint definition for more information.

Running

To run a Docker container

docker run zomplabs/jenkins-dind-jnlp-slave -url http://jenkins-server:port <secret> <slave name>

optional environment variables:

  • JENKINS_URL: url for the Jenkins server, can be used as a replacement to -url option, or to set alternate Jenkins URL
  • JENKINS_TUNNEL: (HOST:PORT) connect to this slave host and port instead of Jenkins server, assuming this one do route TCP traffic to Jenkins master. Useful when when Jenkins runs behind a load balancer, reverse proxy, etc.

License

Unless otherwise stated

Copyright (c) 2015, CloudBees, Inc. Copyright (c) 2016, ZompLabs - A division of Zomp Solutions (UK) Limited.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.