48
48
filePath : ' $(Build.Repository.LocalPath)\build\initialize-pipeline.ps1'
49
49
arguments : -minorVersionPrefix "$(minorVersionPrefix)"
50
50
showWarnings : true
51
+ pwsh : true
51
52
52
53
- job : BuildArtifacts
53
54
dependsOn : InitializePipeline
@@ -82,15 +83,15 @@ jobs:
82
83
filePath : ' $(Build.Repository.LocalPath)\build\update-hostreferences.ps1'
83
84
- task : CopyFiles@2
84
85
inputs :
85
- SourceFolder : ' $(Build.Repository.LocalPath)\buildoutput '
86
- Contents : ' **\ *.zip'
86
+ SourceFolder : ' out/pub/WebJobs.Script.WebHost '
87
+ Contents : ' **/ *.zip'
87
88
TargetFolder : ' $(Build.ArtifactStagingDirectory)'
88
89
- task : DotNetCoreCLI@2
89
90
displayName : ' Build host packages'
90
91
inputs :
91
92
command : ' custom'
92
93
custom : ' pack'
93
- arguments : -o packages - p:BuildNumber=$(buildNumber) -c Release $(packSuffixSwitch)
94
+ arguments : -p:BuildNumber=$(buildNumber) -c Release $(packSuffixSwitch)
94
95
projects : |
95
96
**\WebJobs.Script.csproj
96
97
**\WebJobs.Script.WebHost.csproj
@@ -100,7 +101,7 @@ jobs:
100
101
foreach ($baseName in @("WebJobs.Script", "WebJobs.Script.WebHost", "WebJobs.Script.Grpc"))
101
102
{
102
103
$packageName = "Microsoft.Azure." + $baseName + "*.nupkg"
103
- $sourcePath = "$(Build.Repository.LocalPath)/packages /$packageName"
104
+ $sourcePath = "$(Build.Repository.LocalPath)/out/pkg/release /$packageName"
104
105
if (-not (test-path $sourcePath))
105
106
{
106
107
throw "Unable to find '$packageName' at './package'"
@@ -138,7 +139,7 @@ jobs:
138
139
displayName : ' ESRP CodeSigning: Strong Name and Authenticode'
139
140
inputs :
140
141
ConnectedServiceName : ' ESRP Service'
141
- FolderPath : ' src\ WebJobs.Script.Abstractions\bin\Release '
142
+ FolderPath : ' out/bin/ WebJobs.Script.Abstractions/release '
142
143
Pattern : Microsoft.Azure.WebJobs.Script.Abstractions*.dll
143
144
signConfigType : inlineSignParams
144
145
inlineOperation : |
@@ -173,14 +174,14 @@ jobs:
173
174
inputs :
174
175
command : ' custom'
175
176
custom : ' pack'
176
- arguments : ' --no-build -c Release -o packages '
177
+ arguments : ' --no-build -c Release'
177
178
projects : |
178
179
**\WebJobs.Script.Abstractions.csproj
179
180
- task : SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2
180
181
displayName : ' ESRP CodeSigning: Nupkg'
181
182
inputs :
182
183
ConnectedServiceName : ' ESRP Service'
183
- FolderPath : ' packages '
184
+ FolderPath : ' out/pkg/release '
184
185
Pattern : ' Microsoft.Azure.WebJobs.Script.Abstractions*.nupkg'
185
186
signConfigType : inlineSignParams
186
187
inlineOperation : |
@@ -204,8 +205,8 @@ jobs:
204
205
displayName : ' ESRP CodeSigning: Strong Name and Authenticode'
205
206
inputs :
206
207
ConnectedServiceName : ' ESRP Service'
207
- FolderPath : ' tools\ExtensionsMetadataGenerator\src\ExtensionsMetadataGenerator\ bin\Release '
208
- Pattern : Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator*.dll
208
+ FolderPath : ' out/ bin/ExtensionsMetadataGenerator '
209
+ Pattern : ' Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator*.dll'
209
210
signConfigType : inlineSignParams
210
211
inlineOperation : |
211
212
[
@@ -254,15 +255,15 @@ jobs:
254
255
inputs :
255
256
command : ' custom'
256
257
custom : ' pack'
257
- arguments : ' --no-build -c Release -o packages $(emgSuffixSwitch)'
258
+ arguments : ' --no-build -c Release $(emgSuffixSwitch)'
258
259
projects : |
259
260
**\ExtensionsMetadataGenerator.csproj
260
261
steps:
261
262
- task : SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2
262
263
displayName : ' ESRP CodeSigning: Nupkg'
263
264
inputs :
264
265
ConnectedServiceName : ' ESRP Service'
265
- FolderPath : ' packages '
266
+ FolderPath : ' out/pkg/release '
266
267
Pattern : ' Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator*.nupkg'
267
268
signConfigType : inlineSignParams
268
269
inlineOperation : |
@@ -327,16 +328,16 @@ jobs:
327
328
- task : ManifestGeneratorTask@0
328
329
displayName : ' SBOM Generation Task - NugetPackages'
329
330
inputs :
330
- BuildDropPath : ' $(Build.Repository.LocalPath)\packages '
331
+ BuildDropPath : ' out/pkg/release '
331
332
Verbosity : ' Information'
332
- - publish : $(Build.Repository.LocalPath)\packages
333
+ - publish : out/pkg/release
333
334
artifact : NugetPackages
334
335
- task : ManifestGeneratorTask@0
335
336
displayName : ' SBOM Generation Task - Performance'
336
337
inputs :
337
- BuildDropPath : ' $(Build.Repository.LocalPath)\ WebJobs.Script.Performance.App'
338
+ BuildDropPath : ' WebJobs.Script.Performance.App'
338
339
Verbosity : ' Information'
339
- - publish : $(Build.Repository.LocalPath)\ WebJobs.Script.Performance.App
340
+ - publish : WebJobs.Script.Performance.App
340
341
artifact : Performance
341
342
342
343
- job : RunUnitTests
0 commit comments