1
0
Fork 0

flag to pick master

This commit is contained in:
Christian Kühnel 2020-02-20 15:24:09 +00:00
parent 548e07d5d4
commit d91c7b653a

View file

@ -17,7 +17,13 @@
# TODO: add parameter to bootstrap buildkite or jenkins
$NAME="agent-windows-jenkins"
param(
[Parameter(Mandatory=$true)]
[ValidateSet("buildkite", "jenkins")]
[string]$master
)
$NAME="agent-windows-${master}"
$IMAGE="gcr.io/llvm-premerge-checks/${NAME}"
Write-Output "Authenticating docker..."