Home > front end >  Downloading Azure Devops Artifact from Another Collection
Downloading Azure Devops Artifact from Another Collection

Time:11-14

While creating a pipeline for a project it depends on another project that's located in a different Azure DevOps collection and even though Azure Pipelines lets you download artifacts from the collection the project belongs to, I couldn't find the same solution for the projects outside of the current collection.

Azure structure:

- CollectionOne
  - ProjectOne
  - ProjectTwo
- CollectionTwo
  - ProjectThree
  - ProjectFour

The ProjectOne, depends on the dll files produced by the ProjectFour.

How can this be done?

edit 1:

This is my nuget pipeline item.

azure pipeline item screenshot

CodePudding user response:

When ProjectOne is the main project and you want to use ProjectFour as something like a libary. You could try to run pipelines for the ProjectFour updates then upload the files into the Azure Artifactenter image description here

Then you could use the Artifacts in other collections by setting corresponding service connection.

Here take nuget package as the uploaded Artifact as an example: You could use 'nuget' task in pipelines, choose to use feeds in my config.

enter image description here

You could need to use 'nuget' service connection to communicate with the feeds outside the collection enter image description here

If you don't have one, you could click add new enter image description here in the third screenshot to create one for using

enter image description here

Choose 'External Azure DevOps Server' here and fill the following blanks.

enter image description here

Then you are supposed to be able use the nuget files in the other collection's artifact.

  • Related