Skip to content

Commit 0789a94

Browse files
authored
Remove unneeded pack tasks in build (#9994) (#10082)
1 parent f76efc8 commit 0789a94

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

azure-pipelines.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,6 @@ jobs:
7575
displayName: "Check for security vulnerabilities"
7676
inputs:
7777
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'
8378
- task: CopyFiles@2
8479
inputs:
8580
SourceFolder: '$(Build.Repository.LocalPath)\buildoutput'
@@ -95,29 +90,6 @@ jobs:
9590
**\WebJobs.Script.csproj
9691
**\WebJobs.Script.WebHost.csproj
9792
**\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-
12193
- task: DotNetCoreCLI@2
12294
displayName: 'Build Abstractions and ExtensionsMetadataGenerator'
12395
inputs:

0 commit comments

Comments
 (0)