1
0
Fork 0
This commit is contained in:
Christian Kühnel 2019-12-16 16:38:04 +00:00
parent 9dbeaa82ef
commit ffb70a2922
2 changed files with 1 additions and 3 deletions

View file

@ -18,6 +18,4 @@ set AGENT_ROOT=C:\ws
set WORKSPACE=%AGENT_ROOT%\workspace set WORKSPACE=%AGENT_ROOT%\workspace
if not exist "%WORKSPACE%" mkdir "%WORKSPACE%" if not exist "%WORKSPACE%" mkdir "%WORKSPACE%"
net use E: \\results.local\exports
java -jar %SWARM_PLUGIN_JAR% -master http://%JENKINS_SERVER%:8080 -executors 1 -fsroot %AGENT_ROOT% -labels windows java -jar %SWARM_PLUGIN_JAR% -master http://%JENKINS_SERVER%:8080 -executors 1 -fsroot %AGENT_ROOT% -labels windows

View file

@ -29,7 +29,7 @@ If ($LastExitCode -ne 0) {
} }
# mount a persistent workspace for experiments # mount a persistent workspace for experiments
docker run -it -v D:\:C:\ws -v E:\results:C:\results $IMAGE_NAME $CMD docker run -it -v D:\:C:\ws $IMAGE_NAME $CMD
If ($LastExitCode -ne 0) { If ($LastExitCode -ne 0) {
exit exit
} }