wip test nuget push.add nuget push package using internal Tools/CollectServiceFabricData feed from stage path

This commit is contained in:
jagilber 2024-03-19 16:09:28 -04:00
Родитель 67f47b8568
Коммит e9bd8e30a5
1 изменённых файлов: 2 добавлений и 22 удалений

Просмотреть файл

@ -186,7 +186,7 @@ steps:
rd $nupkgDir -recurse -force
md $nupkgDir
move $nupkgZip $nupkg -force
move *.nupkg $nupkgDir -force
move $nupkg $nupkgDir -force
errorActionPreference: 'continue'
verbosePreference: 'continue'
debugPreference: 'continue'
@ -296,32 +296,12 @@ steps:
targetPath: $(System.ArtifactsDirectory)
artifactName: artifacts-$(start_time)-$(system.JobId)
# - task: DownloadPipelineArtifact@2
# inputs:
# buildType: 'current'
# artifactName: 'artifacts-$(start_time)-$(system.JobId)'
# targetPath: '$(artifacts_share_target)'
# allowPartiallySucceededBuilds: true
# allowFailedBuilds: true
# - task: NuGetCommand@2
# displayName: 'push nupkg to feed'
# inputs:
# command: 'push'
# packagesToPush: '$(release_path)/*.nupkg'
# nugetConfigPath: './nuget.config'
# publishVstsFeed: '$(project_feed)'
# publishPackageMetadata: true
# verbosityPush: 'Detailed'
- task: NuGetCommand@2
displayName: 'push nupkg to feed'
inputs:
command: 'push'
packagesToPush: '$(release_path)/*.nupkg'
#nugetConfigPath: './nuget.config'
packagesToPush: '$(release_stage_path)/*.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: '$(project_feed)'
#feedsToUse: 'config'
publishPackageMetadata: true
verbosityPush: 'Detailed'