cleanup
This commit is contained in:
parent
9dbeaa82ef
commit
ffb70a2922
2 changed files with 1 additions and 3 deletions
|
@ -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
|
|
@ -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
|
||||||
}
|
}
|
Loading…
Reference in a new issue