I am trying to connect the nuget package output from my Azure DevOps CI build to Gemfury. However, I receive an error from the NuGet push step when pushing to Gemfury:
Response status code does not indicate success: 405 (Method Not Allowed).
I am not sure how to connect to Gemfury from within Azure DevOps. I used the Azure DevOps Service Connection NuGet.
Here is my build setup
This is my NuGet service connection to Gemfury inside Azure DevOps:
This uses the cURL connection type: https://gemfury.com/help/upload-packages#cURL (I've tried it with both url types from Gemfury - https://nuget.fury.io/TOKEN/username/ and https://[email protected]/username/)
It seems to be able to connect and authenticate to the service, when there isn't a nupkg to push. So I don't suspect there is an authentication issue.
I then use this Gemfury Service Connection with a NuGet push task in my Azure DevOps Pipeline:
My nupkg exists as an artifact:
Here is the error I get on the NuGet push step of the Pipeline:
I am able to manually copy the nupkg from the Azure DevOps build above and upload it to Gemfury:
Any ideas?
Here is a full list of available Service Connections within Azure DevOps.