Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Git extension not able to pull down repository
-
I tried setting up BuildMaster today using the latest version. I have used it in other projects before but this time when I configured GIT and tried to test the build process I received the error "The process cannot access the file 'C:\BuildMaster_SVCTMP_E1082_D0.gitignore' because it is being used by another process". I went to the build plan and pulled out everything but the command to clone the bitbucket repository and it still failed with that error. Can someone please tell me what might be going on?
Product: BuildMaster
Version: 5.7.3
-
The message, "The process cannot access the file 'C:\BuildMaster_SVCTMP_E1082_D0.gitignore' because it is being used by another process" is coming from Windows, and it means that that something outside of git/BuildMaster has locked this file.
It's usually an anti-virus, indexing, etc; so, please make sure to disable those things on those working folders.
If you can't track it down that way, you may need to use some WIndows diagnostic tools, like Proc and Filemon to see what other processes are locking those files.
-
I tried adding an exclusion to the my antivirus software for the parent temp directory and that didn't work. Unfortunately BuildMaster removes the directory as soon as it fails so it only lasts for a few seconds which isn't long enough for me to see what is using it. Any other thoughts?
-
If you want to extend the life of that directory so you can view it in process explorer you can do something like this in the deployment plan:
with async { Git-GetSource( # ... ); } with async { Sleep 1000; } await;
That will keep the directory around for long enough to examine the file locks, and the deployment can be cancelled when finished.