-
Bug
-
Resolution: Unresolved
-
Minor
-
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.
[JENKINS-71623] Git plugin withCredentials on Windows reports harmless but surprising message
Description |
Original:
When the {{withCredentials}} Pipeline step is used with a username {{GitUsernamePassword}} credential on Windows, 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: {noformat} fatal: Unable to persist credentials with the 'wincredman' credential store. {noformat} 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. |
New:
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: {noformat} fatal: Unable to persist credentials with the 'wincredman' credential store. {noformat} 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 | Original: Mark Waite [ markewaite ] |