From 59c7315d6e42273a9f7da66a95d26b205ba7b0bd Mon Sep 17 00:00:00 2001 From: Alex Earl Date: Tue, 6 Aug 2019 08:26:44 -0700 Subject: [PATCH] [PATCH] Merge pull request jenkinsci/docker-inbound-agent#91 from slide/master Initial Windows agent support --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 42e513c16..7318b456a 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,23 @@ See [Jenkins Distributed builds](https://wiki.jenkins-ci.org/display/JENKINS/Dis To run a Docker container + Linux agent: + docker run jenkins/jnlp-slave -url http://jenkins-server:port -To run a Docker container with [Work Directory](https://github.com/jenkinsci/remoting/blob/master/docs/workDir.md): + Windows agent: + + docker run jenkins/jnlp-agent:latest-windows -Url http://jenkins-server:port -Secret -Name + +To run a Docker container with [Work Directory](https://github.com/jenkinsci/remoting/blob/master/docs/workDir.md) + + Linux agent: docker run jenkins/jnlp-slave -url http://jenkins-server:port -workDir=/home/jenkins/agent + + Windows agent: + + docker run jenkins/jnlp-agent-windows -Url http://jenkins-server:port -WorkDir=C:/Jenkins/agent -Secret -Name Optional environment variables: