disable the cleanup cron for now
parent
88547d8ca3
commit
55f5c2fab7
|
@ -3,10 +3,6 @@ function Jenkins {
|
|||
if ($?) {
|
||||
return $TRUE
|
||||
}
|
||||
$common = Get-WMIObject -Class Win32_Process -Filter "Name='PowerShell.EXE'" | Where {$_.CommandLine -Like "*common.ps1*"}
|
||||
if ($common -ne $NULL) {
|
||||
return $TRUE
|
||||
}
|
||||
return $FALSE
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
Schtasks /create /tn cleanup_reboot /sc MINUTE /mo 30 /tr "Powershell C:\jenkins\windows_cleanup_and_reboot.ps1" /f
|
||||
Disable-ScheduledTask -TaskName cleanup_reboot
|
||||
|
|
|
@ -21,4 +21,4 @@ $timeout="180m"
|
|||
$env:JOB_NAME="Docker_Windows"
|
||||
$env:EXTERNAL="yes"
|
||||
|
||||
. Powershell -File ./out/common.ps1
|
||||
. ./out/common.ps1
|
||||
|
|
|
@ -21,4 +21,4 @@ $timeout="180m"
|
|||
$env:JOB_NAME="Hyper-V_Windows"
|
||||
$env:EXTERNAL="yes"
|
||||
|
||||
. Powershell -File ./out/common.ps1
|
||||
. ./out/common.ps1
|
||||
|
|
Loading…
Reference in New Issue