From 1af59cc965303ce33eca358495bdaaff7aa1a695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Fri, 31 Jan 2020 10:53:51 +0000 Subject: [PATCH] added logging --- scripts/windows_agent_start.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/windows_agent_start.ps1 b/scripts/windows_agent_start.ps1 index 95de34c..6a754ec 100644 --- a/scripts/windows_agent_start.ps1 +++ b/scripts/windows_agent_start.ps1 @@ -18,9 +18,14 @@ $NAME="agent-windows-jenkins" $IMAGE="gcr.io/llvm-premerge-checks/${NAME}" +Write-Output "Pulling new image..." docker pull ${IMAGE} + +Write-Output "Stopping old container..." docker stop ${NAME} docker rm ${NAME} + +Write-Output "Starting container..." docker run ` -v D:\:C:\ws ` -v C:\credentials:C:\credentials `