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

Git plugin withCredentials on Windows reports harmless but surprising message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None
    • Jenkins 2.401.2
      Git plugin 5.1.0
      MinGit version of command line git 2.41.0.2 and earlier

      When the withCredentials Pipeline step is used with a username GitUsernamePassword credential on Windows using the MinGit distribution, the console log includes an annoying but harmless message that command line git could not register the credential with the Windows Credentials Manager.

      The message is:

      fatal: Unable to persist credentials with the 'wincredman' credential store.
      

      The message has been generated since at least January 2023 on Windows agents using the GitUsernamePassword argument to the withCredentials block wrapper. The operations complete as expected, but the fatal in the message may be a source of concern for Jenkins users reading the console log.

            Unassigned Unassigned
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: