aboutsummaryrefslogtreecommitdiff
path: root/etc/bootstrap/bbot-bootstrap-msvc-14.bat
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-10-19 12:32:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-10-19 12:32:00 +0200
commit89d5fb99da99c95a72f0ae69b8116ef3a04333ca (patch)
treea1e5c9d720957dfe0a63e0cc9e13b4122981d3f7 /etc/bootstrap/bbot-bootstrap-msvc-14.bat
parent3b01eefe9cfe31bb0699f0da0cea10c8043ff133 (diff)
Add network timeout of 600 seconds to bootstrap scripts/batch files
Diffstat (limited to 'etc/bootstrap/bbot-bootstrap-msvc-14.bat')
-rw-r--r--etc/bootstrap/bbot-bootstrap-msvc-14.bat5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/bootstrap/bbot-bootstrap-msvc-14.bat b/etc/bootstrap/bbot-bootstrap-msvc-14.bat
index 376fe69..4e317da 100644
--- a/etc/bootstrap/bbot-bootstrap-msvc-14.bat
+++ b/etc/bootstrap/bbot-bootstrap-msvc-14.bat
@@ -19,6 +19,7 @@ set "ENVIRONMENTS=C:\environments"
set "TFTP=196.254.111.222"
rem set "TFTP=10.1.0.1:55123"
set "VERBOSE=3"
+set "TIMEOUT=600"
rem If we already have the bbot worker, assume we are bootstrapped.
rem
@@ -119,7 +120,7 @@ cd %bstrap%
@rem Note: executing in a separate cmd.exe to preserve the echo mode.
@rem
-cmd /C build-msvc.bat %INSTALL% %trust%
+cmd /C build-msvc.bat --timeout %TIMEOUT% %INSTALL% %trust%
@if errorlevel 1 goto error
cd ..
@@ -139,7 +140,7 @@ rmdir /S /Q %bstrap%
@for /D %%d in (build2-toolchain-*) do set "config=%%d"
cd %config%
-bpkg build --yes bbot
+bpkg --fetch-timeout %TIMEOUT% build --yes bbot
@if errorlevel 1 goto error
bpkg install bbot