NuKeeperDotNet / NuKeeper-AzureDevops-extension

NuKeeper AzureDevops and VSTS extension
12 stars 15 forks source link

Extension runs but leaves junk file in PR #61

Open SpaceOgre opened 4 years ago

SpaceOgre commented 4 years ago

Not sure when this stared to happen but, recently (maybe some weeks) there is a junk file in each PR created by NuKeeper, with a name like this: _git2_a02840

If I look at the log we get this error:

Updates failed NotFoundException : could not find 'C:/Users/VssAdministrator/AppData/Local/Temp/NuKeeper/repo-851f889d3b06403eb65cb05d1e052be4/_git2_a02840' to remove: Access is denied.

I have tried diffrent access levels on the PAT but nothing seems to make a difference.

This is on an agent running on a Windows Server 2016 machine. Is the agent lacking some kind of access? Or is NuKeeper looking for this file in the wrong place? It seems like it can checkout and create the pull request fine it is just that this file is there making the PR useless.

MarcBruins commented 3 years ago

Mm can you reproduce this in a simple scenario? Where we can see what happens?