1 write to MaxRetryCount
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
PublishArtifactsInManifestTests.cs (1)
100
MaxRetryCount
= 5, // In case the default changes, lock to 5 so the test data works
4 references to MaxRetryCount
Microsoft.DotNet.Build.Tasks.Feed (3)
src\PublishArtifactsInManifestBase.cs (3)
1453
attemptIndex <=
MaxRetryCount
); // Give up: Too many retries
1457
Log.LogError($"Failed to publish package '{id}@{version}' to '{feedConfig.TargetURL}' after {
MaxRetryCount
} attempts. (Final status: {packageStatus})");
1753
if (attempts ==
MaxRetryCount
)
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
PublishArtifactsInManifestTests.cs (1)
150
timesNugetExeCalled.Should().BeLessOrEqualTo(task.
MaxRetryCount
);