Which version of git client plugin are you using? The git client plugni 4.0.0 release includes an attempt to handle this case and other cases related to atypical project and temporary directory names.
Which version of git client plugin are you using? The git client plugni 4 plugin 3.0.0 release includes an attempt to handle this case and other cases related to atypical project and temporary directory names.
You can dump the contents of the files that contain the credentials information by either deleting the line which removes the file and recompiling the git client plugin or by running Jenkins in a debugger and pausing execution with a breakpoint before the file is deleted.
The line that you cite is intended to replace any embedded single quote characters with an escaped single quote.
This line of code doesn't change anything because the quoting backslash is consumed by regexp handling so in the end it replaces a single quote with identical single quote.
Also - this is wrong, as well. You cannot escape a single quote that way at all. Perhaps org.apache.commons.text.StringEscapeUtils.Builder should be used instead
Also - this is wrong, as well. You cannot escape a single quote that way at all. Perhaps {{org.apache.commons.text.StringEscapeUtils.Builderescape XSI}} should be used instead