Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin won't work for Azure NuGet 3 #72

Open
vitaliy-sharandin opened this issue Feb 20, 2019 · 0 comments
Open

Plugin won't work for Azure NuGet 3 #72

vitaliy-sharandin opened this issue Feb 20, 2019 · 0 comments

Comments

@vitaliy-sharandin
Copy link

vitaliy-sharandin commented Feb 20, 2019

Hey! The issue we have encountered is that the plugin doesn't currently support v3 of Azure NuGet. We have launched plugin as was instructed and tried to push artifact to Azure Artifacts. The result was an UnAuthorized(401) error despite apikey provision in nugetPush task.

Yet once launched from command line, NuGet.exe is actually waiting for username and password to be provided, that is why it's getting Unauthorized when launched from Gradle. As it turns out, there should also be a CredentialsProvider.VSS in the same folder as NuGet.exe, which will take care of authentication.

Our current workaround was to create additional task which downloads CredentialsProvider and make nugetPush depend on this task.

It would be nice to have this functionality available in plugin though.

Here is an article which describes how Azure Nuget works, there is also a possibility to directly download zip with CredentialsProvider described in this article:
https://docs.microsoft.com/en-us/azure/devops/artifacts/nuget/nuget-exe?view=azure-devops&tabs=new-nav#add-a-feed-to-nuget-3-or-later

@vitaliy-sharandin vitaliy-sharandin changed the title Plugin won't work for NuGet 3 Plugin won't work for Azure NuGet 3 Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants