1
0
Fork 0
llvm-premerge-checks/containers/agent-windows-jenkins/start_agent.bat

21 lines
872 B
Batchfile
Raw Normal View History

2019-11-29 13:23:45 +01:00
@rem Copyright 2019 Google LLC
@rem
@rem Licensed under the the Apache License v2.0 with LLVM Exceptions (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://llvm.org/LICENSE.txt
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
2019-12-02 09:49:09 +01:00
set JENKINS_SERVER=jenkins.local
2019-12-02 13:42:14 +01:00
set AGENT_ROOT=C:\ws
set WORKSPACE=%AGENT_ROOT%\workspace
2019-12-16 11:02:28 +01:00
if not exist "%WORKSPACE%" mkdir "%WORKSPACE%"
2019-11-29 13:23:45 +01:00
java -jar %SWARM_PLUGIN_JAR% -master http://%JENKINS_SERVER%:8080 -executors 1 -fsroot %AGENT_ROOT% -labels windows