NuKeeper icon indicating copy to clipboard operation
NuKeeper copied to clipboard

0.35.0 fails with an error for GetCurrentUser on the AzureDevOps platform

Open ghelyar opened this issue 3 years ago • 2 comments

🔙 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:

  • [x] :hammer_and_wrench: NuKeeper CLI
  • [ ] :sparkles: GitHub
  • [x] :robot: AzureDevops
  • [ ] :checkered_flag: Bitbucket
  • [ ] :earth_americas: Gitlab
  • [ ] :tv: Gitea
  • [ ] :whale: Docker

ghelyar avatar Oct 06 '21 07:10 ghelyar

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.

velimirp avatar Oct 11 '21 08:10 velimirp

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.

MarkFl12 avatar Oct 29 '21 07:10 MarkFl12