disable the cleanup cron for now
parent
88547d8ca3
commit
55f5c2fab7
|
@ -3,10 +3,6 @@ function Jenkins {
|
||||||
if ($?) {
|
if ($?) {
|
||||||
return $TRUE
|
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
|
return $FALSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
Schtasks /create /tn cleanup_reboot /sc MINUTE /mo 30 /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
|
||||||
|
Disable-ScheduledTask -TaskName cleanup_reboot
|
||||||
|
|
|
@ -21,4 +21,4 @@ $timeout="180m"
|
||||||
$env:JOB_NAME="Docker_Windows"
|
$env:JOB_NAME="Docker_Windows"
|
||||||
$env:EXTERNAL="yes"
|
$env:EXTERNAL="yes"
|
||||||
|
|
||||||
. Powershell -File ./out/common.ps1
|
. ./out/common.ps1
|
||||||
|
|
|
@ -21,4 +21,4 @@ $timeout="180m"
|
||||||
$env:JOB_NAME="Hyper-V_Windows"
|
$env:JOB_NAME="Hyper-V_Windows"
|
||||||
$env:EXTERNAL="yes"
|
$env:EXTERNAL="yes"
|
||||||
|
|
||||||
. Powershell -File ./out/common.ps1
|
. ./out/common.ps1
|
||||||
|
|
Loading…
Reference in New Issue