Azure Devops - Accessing artifact feed in release

2019-08-23 14:42发布

问题:

I have a Nuget Push task in an Azure DevOps release definition, I also have artifact feeds but they refuse to show up as an option in the NuGet Push task:

I've checked and my user has the package management extension

I've checked that the Project Collection Build Service is a contributor on the feed:

I'm on a trial license of the Package Management extension but it has 9 days remaining. So I'm at a loss as to what else I need to do to get the feed to be used in the task. Any pointers would be gratefully received!

回答1:

I'm the one who posted the very same issue here No artifact feeds found in Azure DevOps

The problem seems to have been fixed now. I'm able to select my feeds. Can you confirm this, oceanexplorer?



回答2:

Well, I don't know why the feed isn't showing up in the drop down like it should be, but here's a workaround.

Create a new Service Connection


  • Generate a new PAT with Packaging Read/Write
  • Use "Basic Authentication"
  • Name the service connection
  • Get the url to the feed from the "Connect to this feed" menu in the artifacts area
  • Use any username
  • Enter the PAT


Use the Service Connection as "external" feed on pipeline