From 826f81a11ad17f415668fe1cb934bdaf00d36ea2 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Mon, 20 Sep 2021 19:41:58 -0500 Subject: [PATCH] Enable experimental nuget retry on rc2 lanes (already enabled on main) (#59360) --- eng/pipelines/common/variables.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/eng/pipelines/common/variables.yml b/eng/pipelines/common/variables.yml index 760543475a751..c724f4beb367f 100644 --- a/eng/pipelines/common/variables.yml +++ b/eng/pipelines/common/variables.yml @@ -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