Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35959

Gcmw and git-client-plugin collide

XMLWordPrintable

      The main issue appear to be a bad interaction between git-client-plugin and gcmw (Git Credential Manager For Windows):
      Gcmw works by using in the config "credential.helper=manager". This means than git will normally get the user and password Gcmw will provide.
      But with "core.askpass=true" stuff will not work as expected.The build will fail. Example:
      ...
      > git.exe --version # timeout=10
      > git.exe -c core.askpass=true fetch --tags --progress http://*************.git +refs/heads/:refs/remotes/origin/
      ERROR: Timeout after 10 minutes
      ERROR: Error fetching remote repo 'origin'
      .....
      What we need is something to deactivate core.askpass=true I think.

      Note: Even if there is or there isn't in the Repository Credentials a user defines the result is the same.
      Note: Gcmw is https://github.com/Microsoft/Git-Credential-Manager-for-Windows

            Unassigned Unassigned
            sava_n_dragos Dragos Sava
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: