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