Git plugin withCredentials on Windows reports harmless but surprising message

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: git-plugin
    • Environment:
      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.

            Assignee:
            Unassigned
            Reporter:
            Mark Waite
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: