about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-05-14 12:41:42 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-05-15 12:01:09 -0700
commit7644508b4e1216731d11378d2dd487eba20217f8 (patch)
tree805b5434b7869eb94782d9a54a6bfc71710a323f
parent77f1bec6f5eb9ed632c973b97b12701294e6d3a5 (diff)
downloadrust-7644508b4e1216731d11378d2dd487eba20217f8.tar.gz
rust-7644508b4e1216731d11378d2dd487eba20217f8.zip
appveyor: Wrap handle.exe download in a retry
Should help deal with spurious download failures.
-rw-r--r--appveyor.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 42c6256a95a..96de1d90f25 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -141,9 +141,9 @@ install:
   - set PATH="C:\Program Files (x86)\Inno Setup 5";%PATH%
 
   # Help debug some handle issues on AppVeyor
-  - ps: Invoke-WebRequest -Uri https://download.sysinternals.com/files/Handle.zip -OutFile handle.zip
+  - appveyor-retry appveyor DownloadFile https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-05-15-Handle.zip
   - mkdir handle
-  - ps: Expand-Archive handle.zip -dest handle
+  - 7z x -ohandle 2017-05-15-Handle.zip
   - set PATH=%PATH%;%CD%\handle
   - handle.exe -accepteula -help