Build Hang or Fail with Git for Windows Bee Bot July 13, 2022 10:36 Updated The content of this article has moved to the new documentation site. Related articles Git Failed to connect to repository : Could not init tmp How to Customize Checkout for Pipeline Multibranch? Using a Git reference repository Using PATH in Git Configuration Why is my instance not getting the right information from CloudBees Update Center starting on October 19th, 2021? Comments 10 comments Sort by Date Votes Dave Parson January 06, 2017 21:08 For solution #1, you may need to perform a couple additional steps: 1. Edit the .gitconfig for the account used to run the Jenkins Slave process, removing the credential.helper setting. 2. Reboot the Jenkins Slave machine to ensure no orphan "Windows Git Credential Manager" processes previously started by Jenkins are still running. 1 Allan Burdajewicz February 26, 2017 23:21 Thanks Dave. We've updated the article. 0 Vasan J.s. March 03, 2017 12:27 This was a life saver!! Thanks a heap!!! 2 Ralph Jansen March 22, 2017 07:45 Disabling the credential manager (after uninstalling) in the installation wizard fixed the issue for me! 1 Naibedyakar00 Naibedyakar00 May 17, 2017 15:12 #2 worked for me. Thanks, you are a life saver. 1 Isuru Madhushankha May 30, 2017 11:53 Edited that fix, worked well... thanks a lot. 1 Darin Mcgrew August 15, 2017 22:24 Thanks. A new team is using GitHub and Windows for the first time. (Before, GitHub was used with Linux and TFS was used with Windows.) They were running into this issue. It's good to have it fixed. 0 Marius Bob September 14, 2017 07:17 uninstalled git and installed it again with "Enable Git Credential Manager" unchecked. It worked! You just saved me some hours of working :) Thanks! 0 Harsh Sarode February 27, 2018 07:31 hey Thank you so much, the second one worked for me!!!! 0 Rafael Rezende December 14, 2018 16:09 Edited I like the #3 better, but today I noticed that the Portable one comes with a gitconfig where the helper = manager is provided by default in mingw64\etc\gitconfig: [credential] helper = manager When I use it (hence, Jenkins installs it automatically), the following empty file gets created in the node: C:\Users\<user>\AppData\Local\GitCredentialManager\tenant.cache Is this expected? (reference version: https://github.com/git-for-windows/git/releases/download/v2.20.0.windows.1/PortableGit-2.20.0-64-bit.7z.exe) 0 Please sign in to leave a comment.