Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Skovhede <kenneth@hexad.dk>2017-05-23 12:49:25 +0300
committerKenneth Skovhede <kenneth@hexad.dk>2017-05-23 12:49:25 +0300
commit721c25dfbb8132df975c9347b67f7a67cc9b50f7 (patch)
tree1dbf6a0401b82da540aa81fd174574368b562074
parentba8aafc1dae044ddfb2f634cf90f5073d5630d03 (diff)
Added pre-flight check to make sure Windows is respondingexperiment/disable-msbuild
-rwxr-xr-xbuild-installers.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/build-installers.sh b/build-installers.sh
index 8e688ea49..8e07abb3f 100755
--- a/build-installers.sh
+++ b/build-installers.sh
@@ -140,6 +140,17 @@ echo ""
echo ""
echo "Building Windows instance in virtual machine"
+while true
+do
+ ssh -o ConnectTimeout=5 IEUser@192.168.56.101 "dir"
+ if [ $? -eq 255 ]; then
+ echo "Windows Build machine is not responding, try restarting it"
+ read -p "Press [Enter] key to try again"
+ continue
+ fi
+ break
+done
+
cat > "tmp-windows-commands.bat" <<EOF
SET VS120COMNTOOLS=%VS140COMNTOOLS%
cd \\Duplicati\\Installer\\Windows