Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    gitbuildmaster
    4 Posts 1 Posters 7 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            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.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation