0

Is there a way to download an Azure Artifact into a Azure Pipeline? I see there's way to download a Build Artifact, however I am not looking for this. I push an Azure Artifact and need it in my pipeline.

1 Answers1

2

Is there a way to download an Azure Artifact into a Azure Pipeline?

Yes. You can use the Download Package task to download the packages in Azure Artifacts.

Here is an example:

- task: DownloadPackage@1
  inputs:
    packageType: 'nuget'
    feed: 'feedname'
    view: 'release'
    definition: 'packagename'
    version: version'
    downloadPath: '$(System.ArtifactsDirectory)'
Kevin Lu-MSFT
  • 20,786
  • 3
  • 19
  • 28