|
76 | 76 | displayName: "Check for security vulnerabilities"
|
77 | 77 | inputs:
|
78 | 78 | filePath: '$(Build.Repository.LocalPath)\build\check-vulnerabilities.ps1'
|
79 |
| - - task: PowerShell@2 |
80 |
| - condition: eq(variables['RUNBUILDFORINTEGRATIONTESTS'], 'True') |
81 |
| - displayName: "Update host references" |
82 |
| - inputs: |
83 |
| - filePath: '$(Build.Repository.LocalPath)\build\update-hostreferences.ps1' |
84 | 79 | - task: CopyFiles@2
|
85 | 80 | inputs:
|
86 | 81 | SourceFolder: 'out/pub/WebJobs.Script.WebHost'
|
|
96 | 91 | **\WebJobs.Script.csproj
|
97 | 92 | **\WebJobs.Script.WebHost.csproj
|
98 | 93 | **\WebJobs.Script.Grpc.csproj
|
99 |
| -
|
100 |
| - - pwsh: | |
101 |
| - foreach ($baseName in @("WebJobs.Script", "WebJobs.Script.WebHost", "WebJobs.Script.Grpc")) |
102 |
| - { |
103 |
| - $packageName = "Microsoft.Azure." + $baseName + "*.nupkg" |
104 |
| - $sourcePath = "$(Build.Repository.LocalPath)/out/pkg/release/$packageName" |
105 |
| - if (-not (test-path $sourcePath)) |
106 |
| - { |
107 |
| - throw "Unable to find '$packageName' at './package'" |
108 |
| - } |
109 |
| - Copy-Item -Path $sourcePath -Destination $(Build.ArtifactStagingDirectory) -ErrorAction Stop -Verbose -Force} |
110 |
| - condition: eq(variables['RUNBUILDFORINTEGRATIONTESTS'], 'True') |
111 |
| - displayName: 'Copy package to ArtifactStagingDirectory' |
112 |
| -
|
113 |
| - - task: NuGetCommand@2 |
114 |
| - condition: eq(variables['RUNBUILDFORINTEGRATIONTESTS'], 'True') |
115 |
| - inputs: |
116 |
| - command: 'push' |
117 |
| - packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' |
118 |
| - nuGetFeedType: 'internal' |
119 |
| - publishVstsFeed: 'e6a70c92-4128-439f-8012-382fe78d6396/f37f760c-aebd-443e-9714-ce725cd427df' |
120 |
| - allowPackageConflicts: true |
121 |
| - |
122 | 94 | - task: DotNetCoreCLI@2
|
123 | 95 | displayName: 'Build Abstractions and ExtensionsMetadataGenerator'
|
124 | 96 | inputs:
|
|
0 commit comments