NuKeeperDotNet / NuKeeper

Automagically update nuget packages in .NET projects
Apache License 2.0
540 stars 129 forks source link

0.35.0 fails with an error for GetCurrentUser on the AzureDevOps platform #1144

Open ghelyar opened 2 years ago

ghelyar commented 2 years ago

🔙 Regression

Old (and correct) behavior

NuKeeper runs without error on version 0.34.0:

Matched uri '...' to collaboration platform 'AzureDevOps'
Using upstream fork as push, for project ... at ...
User name missing from profile, falling back to .gitconfig
Found 84 packages
...

Current behavior

NuKeeper fails with an error on version 0.35.0:

Matched uri '...' to collaboration platform 'AzureDevOps'
##[error]GetCurrentUser: Error NotFound
Using upstream fork as push, for project ... at ...
User name missing from profile, falling back to .gitconfig
Found 84 packages
...

Reproduction steps

Run NuKeeper 0.35.0 from an Azure DevOps hosted agent.

Configuration

Version: 0.35.0

Platform if applicable:

velimirp commented 2 years ago

The same problem appeared in our pipelines after I attempted an upgrade to 0.35. I had to revert to 0.34 for the moment.

MarkFl12 commented 2 years ago

I'm getting this as well, also on Azure DevOps, it shows the error but then still seems to work anyway, apart from the fact it's marking the build in TeamCity as failed.