Skip to content

Commit

Permalink
[HttpStress] [SslStress] Workaround image bug in 1es-windows-2022-open (
Browse files Browse the repository at this point in the history
dotnet#100145)

Workaround for microsoft/azure-pipelines-agent#4554. Microsoft.VCToolsVersion.v143.default.txt contains the wrong MSVC version, deleting the file makes vcvarsall.bat fall back to Microsoft.VCToolsVersion.default.txt, which has the correct version.
  • Loading branch information
antonfirsov committed Mar 24, 2024
1 parent 55492f2 commit 6c685e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eng/pipelines/libraries/stress/http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ extends:
lfs: false

- powershell: |
# Workaround for https://github.com/microsoft/azure-pipelines-agent/issues/4554. Undo when the image bug is fixed.
Remove-Item -Path "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\Microsoft.VCToolsVersion.v143.default.txt"
$(dockerfilesFolder)/build-docker-sdk.ps1 -w -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION)
echo "##vso[task.setvariable variable=succeeded;isOutput=true]true"
name: buildRuntime
Expand Down
3 changes: 3 additions & 0 deletions eng/pipelines/libraries/stress/ssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ extends:
lfs: false

- powershell: |
# Workaround for https://github.com/microsoft/azure-pipelines-agent/issues/4554. Undo when the image bug is fixed.
Remove-Item -Path "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\Microsoft.VCToolsVersion.v143.default.txt"
$(dockerfilesFolder)/build-docker-sdk.ps1 -w -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION)
displayName: Build CLR and Libraries
Expand Down

0 comments on commit 6c685e3

Please sign in to comment.