added logging
This commit is contained in:
parent
84a39ba079
commit
1af59cc965
1 changed files with 5 additions and 0 deletions
|
@ -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 `
|
||||||
|
|
Loading…
Reference in a new issue