fredrik
fredrik

Reputation: 10281

How does one download a build artifact from Azure Pipelines?

I am successfully creating build artifacts in my public Github repository's Azure Pipeline:

  - task: PublishBuildArtifacts@1
    inputs:
      pathtoPublish: '$(Build.ArtifactStagingDirectory)'
      artifactName: drop

But after a CI build, I would like to download this artifact to my laptop and examine it. All I can find is how to make a manual REST API call where I need to know my build number and the artifact name.

Is it not possible to download the artifacts registered from the Azure Pipelines web interface?

Upvotes: 9

Views: 11024

Answers (2)

Pylyp Lebediev
Pylyp Lebediev

Reputation: 2121

Location of build artifacts has been changed. Navigate to Pipelines, Pipelines, select build run and click on link under Artifacts section. On Published artifacts page, there is link to download artifacts

enter image description here

enter image description here

Upvotes: 10

4c74356b41
4c74356b41

Reputation: 72171

You can navigate to artifacts and download it there:

enter image description here

You would need package management license for that (first 5 are free) and appropriate permissions. top left box is the feed selector

To download a build artifact >> go to build in the build history and in the summary it will contain all the artifacts

enter image description here

Upvotes: 1

Related Questions