Skip to content

Commit 6c23426

Browse files
authored
Remove unneeded pack tasks in build (#9994)
* Remove unneeded pack tasks in build * Add packaging back in
1 parent f3bae24 commit 6c23426

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
@@ -76,11 +76,6 @@ jobs:
7676
displayName: "Check for security vulnerabilities"
7777
inputs:
7878
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'
8479
- task: CopyFiles@2
8580
inputs:
8681
SourceFolder: 'out/pub/WebJobs.Script.WebHost'
@@ -96,29 +91,6 @@ jobs:
9691
**\WebJobs.Script.csproj
9792
**\WebJobs.Script.WebHost.csproj
9893
**\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-
12294
- task: DotNetCoreCLI@2
12395
displayName: 'Build Abstractions and ExtensionsMetadataGenerator'
12496
inputs:

0 commit comments

Comments
 (0)