From 7644508b4e1216731d11378d2dd487eba20217f8 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sun, 14 May 2017 12:41:42 -0700 Subject: [PATCH] appveyor: Wrap handle.exe download in a retry Should help deal with spurious download failures. --- appveyor.yml | 4 ++-- 1 file 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