Commit 1406602 1 parent 66cce79 commit 1406602 Copy full SHA for 1406602
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,21 @@ if %ERRORLEVEL% EQU 1 (
17
17
18
18
if %ERRORLEVEL% EQU 2 (
19
19
echo "Runner listener exit with retryable error, re-launch runner in 5 seconds."
20
- timeout /t 5 /nobreak > NUL
20
+ PING 1.1.1.1 -n 1 -w 5000 > NUL
21
21
exit /b 1
22
22
)
23
23
24
24
if %ERRORLEVEL% EQU 3 (
25
25
rem Sleep 5 seconds to wait for the runner update process finish
26
26
echo "Runner listener exit because of updating, re-launch runner in 5 seconds"
27
- timeout /t 5 /nobreak > NUL
27
+ PING 1.1.1.1 -n 1 -w 5000 > NUL
28
28
exit /b 1
29
29
)
30
30
31
31
if %ERRORLEVEL% EQU 4 (
32
32
rem Sleep 5 seconds to wait for the ephemeral runner update process finish
33
33
echo "Runner listener exit because of updating, re-launch ephemeral runner in 5 seconds"
34
- timeout /t 5 /nobreak > NUL
34
+ PING 1.1.1.1 -n 1 -w 5000 > NUL
35
35
exit /b 1
36
36
)
37
37
You can’t perform that action at this time.
0 commit comments