Can I download a universal package in an external ADO feed from a specific view?

157 Views Asked by At

my company recently underwent an Azure DevOps migration to a new ADO organization, and I still need to download a universal package from the previous organization in the new one. I know that this task will allow this, but I require an additional filter that the task doesn't seem to support.

I need to be able to download the universal package filtering by view. We were using this task; it supports specifying the view, but doesn't have input for external feed credentials. Does anyone know if supporting both of these demands is possible?

1

There are 1 best solutions below

4
Kevin Lu-MSFT On BEST ANSWER

Can I download a universal package in an external ADO feed from a specific view?

Yes. We can do it in the task: UniversalPackages@0 - Universal packages v0 task

We can set the view at the feed field. For example: ProjectName/feedname@Prerelease

Yaml Sample:

- task: UniversalPackages@0
  displayName: 'Universal download'
  inputs:
    feedsToUse: external
    externalFeedCredentials: testuniversal
    feedDownloadExternal: '123/kevintest@Prerelease'
    packageDownloadExternal: kevin
    versionDownloadExternal: '2.9.*'

Result:

Package view:

enter image description here

Pipeline result:

enter image description here