Skip to content

Commit

Permalink
Use enhanced build client to avoid exceptions on 302 redirects on art…
Browse files Browse the repository at this point in the history
…ifact download (#8366)
  • Loading branch information
hallipr authored May 31, 2024
1 parent dc42b96 commit 470c31d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Threading.Tasks;

using Azure.Sdk.Tools.PipelineWitness.Configuration;
using Azure.Sdk.Tools.PipelineWitness.Services;
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Models;

Expand Down Expand Up @@ -85,7 +86,7 @@ public BlobUploadProcessor(
throw new ArgumentNullException(nameof(vssConnection));
}

this.buildClient = vssConnection.GetClient<BuildHttpClient>();
this.buildClient = vssConnection.GetClient<EnhancedBuildHttpClient>();
this.testResultsClient = vssConnection.GetClient<TestResultsHttpClient>();
}

Expand Down

0 comments on commit 470c31d

Please sign in to comment.