Jenkins JNLP slave Docker image with Maven
A Jenkins slave using JNLP to establish connection.
By default, JnlpProtocol3 is disabled due to the known stability and scalability issues.
You can enable this protocol on your own risk using the
To run a Docker container
docker run qautomatron/docker-jnlp-maven-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
-urloption, or to set alternate jenkins URL
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.