diff options
author | Kenneth Skovhede <kenneth@hexad.dk> | 2017-05-23 12:49:25 +0300 |
---|---|---|
committer | Kenneth Skovhede <kenneth@hexad.dk> | 2017-05-23 12:49:25 +0300 |
commit | 721c25dfbb8132df975c9347b67f7a67cc9b50f7 (patch) | |
tree | 1dbf6a0401b82da540aa81fd174574368b562074 | |
parent | ba8aafc1dae044ddfb2f634cf90f5073d5630d03 (diff) |
Added pre-flight check to make sure Windows is respondingexperiment/disable-msbuild
-rwxr-xr-x | build-installers.sh | 11 |
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 |