1
0
Fork 0

added logging

This commit is contained in:
Christian Kühnel 2020-01-31 10:53:51 +00:00
parent 84a39ba079
commit 1af59cc965

View file

@ -18,9 +18,14 @@
$NAME="agent-windows-jenkins" $NAME="agent-windows-jenkins"
$IMAGE="gcr.io/llvm-premerge-checks/${NAME}" $IMAGE="gcr.io/llvm-premerge-checks/${NAME}"
Write-Output "Pulling new image..."
docker pull ${IMAGE} docker pull ${IMAGE}
Write-Output "Stopping old container..."
docker stop ${NAME} docker stop ${NAME}
docker rm ${NAME} docker rm ${NAME}
Write-Output "Starting container..."
docker run ` docker run `
-v D:\:C:\ws ` -v D:\:C:\ws `
-v C:\credentials:C:\credentials ` -v C:\credentials:C:\credentials `