Add retries to Invoke-WebRequest#4425
Merged
mikeharder merged 3 commits intoAzure:masterfrom Jul 25, 2019
Merged
Conversation
- Downloads may occasionally fail due to server or network issues
Member
Author
|
/azp run js - docs |
|
No pipelines are associated with this pull request. |
Member
Author
|
@scbedd: I manually triggered a build of the https://dev.azure.com/azure-sdk/internal/_build/results?buildId=74228 |
weshaggard
reviewed
Jul 25, 2019
scbedd
reviewed
Jul 25, 2019
scbedd
approved these changes
Jul 25, 2019
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Anytime
Invoke-WebRequestis used in a pipeline or script, retries should be allowed to handle intermittent failures due to network or server issues. I will make this change across all client-library pipelines and scripts in all repos.Example pipeline failure:
https://dev.azure.com/azure-sdk/public/_build/results?buildId=74157&view=logs&jobId=0cac3d53-c604-5b5d-0b4e-ac2b7ffbaab5&taskId=60a41d80-98c5-5054-7eb3-8e76656b2cf2&lineStart=12&lineEnd=13&colStart=1&colEnd=1
CC: @Azure/azure-sdk-eng