Skip to main content

Build Hang or Fail with Git for Windows

Comments

10 comments

  • Dave Parson

    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

    Thanks Dave. We've updated the article.

    0
  • Vasan J.s.

    This was a life saver!!

    Thanks a heap!!!

    2
  • Ralph Jansen

    Disabling the credential manager (after uninstalling) in the installation wizard fixed the issue for me!

    1
  • #2 worked for me. Thanks, you are a life saver. 

     

    1
  • Isuru Madhushankha

    that fix, worked well... thanks a lot.

    1
  • Darin Mcgrew

    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

    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

    hey Thank you so much, the second one worked for me!!!!

    0
  • Rafael Rezende

    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.

About CloudBees Support

Our Support Engineers are available to help with any questions or problems you may have with any of our products.