diff --git a/hack/jenkins/windows_integration_setup.ps1 b/hack/jenkins/windows_integration_setup.ps1 index e36def6b45..510cccbfc3 100644 --- a/hack/jenkins/windows_integration_setup.ps1 +++ b/hack/jenkins/windows_integration_setup.ps1 @@ -17,5 +17,5 @@ $env:KUBECONFIG="$test_home\kubeconfig" $env:MINIKUBE_HOME="$test_home\.minikube" # delete in case previous test was unexpectedly ended and teardown wasn't run -rm -r $test_home +rm -r -Force $test_home mkdir -p $test_home diff --git a/hack/jenkins/windows_integration_teardown.ps1 b/hack/jenkins/windows_integration_teardown.ps1 index bd838bfcf6..2dc1248f7e 100644 --- a/hack/jenkins/windows_integration_teardown.ps1 +++ b/hack/jenkins/windows_integration_teardown.ps1 @@ -14,4 +14,4 @@ $test_home="$env:HOMEDRIVE$env:HOMEPATH\minikube-integration" -rm -r $test_home +rm -r -Force $test_home