Start-FileDownload retry mechanism

matt_mckinstry's Avatar


15 Mar, 2019 02:05 PM

We've been getting some build failures with Start-FileDownload failing. The remote name could not be resolved: ''

Being in the cloud an all, it would be nice if the Start-FileDownload cmdlet provided a configurable retry mechanism to handle temporary connectivity issues.

Say an extra parameter -MaxRetries of type int. It could default to 1 when excluded

  1. Support Staff 1 Posted by Owen McDonnell on 15 Mar, 2019 04:34 PM

    Owen McDonnell's Avatar

    You could use appveyor-retry command. Something like this...

    - cmd: appveyor-retry powershell Start-FileDownload <your-url>
  2. Ilya Finkelshteyn closed this discussion on 15 May, 2019 09:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac