Skip to content

Commit d6e20fc

Browse files
authored
[v7.1.0-preview1] ESRP Nuget Signing Path Fix (#4249)
1 parent 061c45b commit d6e20fc

2 files changed

Lines changed: 3 additions & 14 deletions

File tree

eng/pipelines/onebranch/jobs/build-buildproj-job.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ jobs:
201201
authSignCertName: '${{ parameters.signingAuthSignCertName }}'
202202
esrpClientId: '${{ parameters.signingEsrpClientId }}'
203203
esrpConnectedServiceName: '${{ parameters.signingEsrpConnectedServiceName }}'
204-
searchPath: '$(PACK_OUTPUT)'
205-
searchPattern: '${{ parameters.packageFullName}}.*nupkg'
204+
searchPath: '$(BUILD_OUTPUT)'
205+
searchPattern: '**/${{ parameters.packageFullName}}.*nupkg'
206206

207207
# Copy the contents of the build output for this package to the artifacts folder
208208
- task: CopyFiles@2

eng/pipelines/onebranch/steps/pack-buildproj-step.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#################################################################################
66

77
# Generic pack step for build.proj packages. This step runs the Pack* target to generate a NuGet
8-
# package of the target package. The generated NuGet packages will then be copied to $(PACK_OUTPUT).
8+
# package of the target package.
99
#
1010
# Note: This step assumes that the package has been built previously using a Build* target.
1111
# `-p:PackBuild=false` will be passed to msbuild to ensure the previously built assemblies are
@@ -71,14 +71,3 @@ steps:
7171
7272
- script: tree /a /f $(BUILD_OUTPUT)
7373
displayName: Output Build Output Tree
74-
75-
- task: CopyFiles@2
76-
displayName: 'Copy NuGet Packages to PACK_OUTPUT'
77-
inputs:
78-
contents: '**/${{ parameters.packageFullName }}*.*nupkg'
79-
flattenFolders: true
80-
sourceFolder: '$(BUILD_OUTPUT)/${{ parameters.packageFullName }}/'
81-
targetFolder: '$(PACK_OUTPUT)'
82-
83-
- script: tree /a /f $(PACK_OUTPUT)
84-
displayName: Output Package Output Tree

0 commit comments

Comments
 (0)