diff --git a/hack/jenkins/windows_cleanup_cron.ps1 b/hack/jenkins/windows_cleanup_cron.ps1 index fc9c099846..7f7e62e53f 100644 --- a/hack/jenkins/windows_cleanup_cron.ps1 +++ b/hack/jenkins/windows_cleanup_cron.ps1 @@ -1 +1 @@ -Schtasks /create /tn cleanup_reboot /sc HOURLY /tr "Powershell C:\jenkins\windows_cleanup_and_reboot.ps1" /f +Schtasks /create /tn cleanup_reboot /sc MINUTE /mo 30 /tr "Powershell C:\jenkins\windows_cleanup_and_reboot.ps1" /f diff --git a/hack/jenkins/windows_integration_teardown.ps1 b/hack/jenkins/windows_integration_teardown.ps1 index db04b21adc..4ade0ba2b9 100644 --- a/hack/jenkins/windows_integration_teardown.ps1 +++ b/hack/jenkins/windows_integration_teardown.ps1 @@ -23,3 +23,4 @@ if ($driver -eq "docker") { } rm -r -Force $test_home +C:\jenkins\windows_cleanup_and_reboot.ps1