Skip to content

Commit 7e7d23e

Browse files
committed
Avoiding installation of NuGet tool for official builds since it already exists on 1ES images, and some builds aren't allowed to download it.
1 parent bbaedd4 commit 7e7d23e

2 files changed

Lines changed: 21 additions & 4 deletions

File tree

eng/pipelines/common/templates/jobs/build-signed-package-job.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
- template: ../steps/generate-nuget-package-step.yml@self
5252
parameters:
5353
OutputDirectory: $(artifactDirectory)
54+
installNuget: false
5455

5556
- template: ../steps/esrp-code-signing-step.yml@self
5657
parameters:

eng/pipelines/steps/compound-nuget-pack-step.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,26 @@ parameters:
2727
- Project
2828

2929
steps:
30-
- task: NuGetToolInstaller@1
31-
displayName: 'Install Latest Nuget'
32-
inputs:
33-
checkLatest: true
30+
# This tool is failing on OneBranch pipelines, possibly due to new
31+
# network isolation rules:
32+
#
33+
# ERR:Client network socket disconnected before secure TLS connection was established
34+
#
35+
# Our AKV Official build uses this 1ES image:
36+
#
37+
# Image: 1ES-OB-2022-D8-Netlock-V2_westus2_1_image
38+
#
39+
# An ICM for this issue exists:
40+
#
41+
# https://portal.microsofticm.com/imp/v5/incidents/details/690355343/summary
42+
#
43+
# Recommendation is to remove this step since NuGet is already present on
44+
# the 1ES images.
45+
#
46+
# - task: NuGetToolInstaller@1
47+
# displayName: 'Install Latest Nuget'
48+
# inputs:
49+
# checkLatest: true
3450

3551
- ${{ if parameters.generateSymbolsPackage }}:
3652
- task: NuGetCommand@2

0 commit comments

Comments
 (0)