From ce3227422ed6e20c796d7539007d78c043e34cfa Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Mon, 15 Mar 2021 13:03:40 -0700 Subject: [PATCH] force --- hack/jenkins/windows_integration_test_docker.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hack/jenkins/windows_integration_test_docker.ps1 b/hack/jenkins/windows_integration_test_docker.ps1 index a27cdec1ef..353b294c40 100644 --- a/hack/jenkins/windows_integration_test_docker.ps1 +++ b/hack/jenkins/windows_integration_test_docker.ps1 @@ -28,16 +28,16 @@ $gcs_bucket="minikube-builds/logs/$env:MINIKUBE_LOCATION/$env:SHORT_COMMIT" If ($lastexitcode -gt 0) { echo "Docker failed to start, exiting." - $json = "{`"state`": `"failure`", `"description`": `"Jenkins: docker failed to start`", `"target_url`": `"$env:target_url`", `"context`": `"Docker_Windows`"}" + $json = "{`"state`": `"failure`", `"description`": `"Jenkins: docker failed to start`", `"context`": `"Docker_Windows`"}" Invoke-WebRequest -Uri "https://api.github.com/repos/kubernetes/minikube/statuses/$env:COMMIT`?access_token=$env:access_token" -Body $json -ContentType "application/json" -Method Post -usebasicparsing - docker system prune --all + docker system prune --all --force Exit $lastexitcode } # Remove unused images and containers -docker system prune --all +docker system prune --all --force ./out/minikube-windows-amd64.exe delete --all @@ -90,7 +90,7 @@ $json = "{`"state`": `"$env:status`", `"description`": `"Jenkins: $description`" Invoke-WebRequest -Uri "https://api.github.com/repos/kubernetes/minikube/statuses/$env:COMMIT`?access_token=$env:access_token" -Body $json -ContentType "application/json" -Method Post -usebasicparsing # Remove unused images and containers -docker system prune --all +docker system prune --all --force # Just shutdown Docker, it's safer than anything else Get-Process "*Docker Desktop*" | Stop-Process