Skip to content

Commit

Permalink
Enable experimental nuget retry on rc2 lanes (already enabled on main) (
Browse files Browse the repository at this point in the history
  • Loading branch information
lewing authored Sep 21, 2021
1 parent d060300 commit 826f81a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions eng/pipelines/common/variables.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
variables:

# These values enable longer delays, configurable number of retries, and special understanding of TCP hang-up
# See https://github.com/NuGet/Home/issues/11027 for details
- name: NUGET_ENABLE_EXPERIMENTAL_HTTP_RETRY
value: true
- name: NUGET_EXPERIMENTAL_MAX_NETWORK_TRY_COUNT
value: 6
- name: NUGET_EXPERIMENTAL_NETWORK_RETRY_DELAY_MILLISECONDS
value: 1000

- name: isOfficialBuild
value: ${{ and(ne(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}
- name: isFullMatrix
Expand Down

0 comments on commit 826f81a

Please sign in to comment.