File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM java:7.0.79
1+ FROM openjdk:8-windowsservercore
22
3- MAINTAINER Stefan Scherer <
[email protected] >
4-
5- ENV JENKINS_SWARM_VERSION 2.0
3+ ENV JENKINS_SWARM_VERSION 3.3
64ENV HOME /jenkins-slave
75
86RUN mkdir \j enkins-slave
9- RUN powershell -Command "wget -Uri http ://maven .jenkins-ci.org/content/repositories/ releases/org/jenkins-ci/plugins/swarm-client/$env:JENKINS_SWARM_VERSION /swarm-client-$env:JENKINS_SWARM_VERSION-jar-with-dependencies.jar -OutFile / swarm-client.jar -UseBasicParsing"
7+ RUN powershell -Command Invoke-WebRequest $( 'https ://repo .jenkins-ci.org/releases/org/jenkins-ci/plugins/swarm-client/{0} /swarm-client-{0}.jar' -f $env:JENKINS_SWARM_VERSION) -OutFile ' swarm-client.jar' -UseBasicParsing ;
108
119COPY jenkins-slave.cmd /jenkins-slave.cmd
1210
13- # VOLUME / jenkins-slave
11+ VOLUME C: \\ jenkins-slave
1412
15- ENTRYPOINT [ "cmd" , "/C" , "\\ jenkins-slave.cmd" ]
13+ ENTRYPOINT [ "cmd" , "/C" , "C: \\ jenkins-slave.cmd" ]
You can’t perform that action at this time.
0 commit comments