From 7fe16826203314eb4c76949eabf229607e21f8c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Thu, 20 Feb 2020 16:44:47 +0000 Subject: [PATCH] start in background --- scripts/windows_agent_start.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/windows_agent_start.ps1 b/scripts/windows_agent_start.ps1 index 86deec8..35a7520 100644 --- a/scripts/windows_agent_start.ps1 +++ b/scripts/windows_agent_start.ps1 @@ -19,6 +19,7 @@ param( [Parameter(Mandatory=$true)] + [ValidateSet("buildkite", "jenkins")] [string]$master ) @@ -36,7 +37,7 @@ docker stop ${NAME} docker rm ${NAME} Write-Output "Starting container..." -docker run ` +docker run -d ` -v D:\:C:\ws ` -v C:\credentials:C:\credentials ` -e PARENT_HOSTNAME=$env:computername `