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

incorrect parameter is set for credential-store

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • git-client-plugin
    • None

      I have fixed it please apply the patch

      @@ -974,10 +974,10 @@ public class CliGitAPIImpl extends LegacyCompatibleGitAPIImpl {

      if (credentials != null)

      { listener.getLogger().println("using .gitcredentials to set credentials"); - + String urlWithCrendentials = getGitCrendentialsURL(url, credentials); store = createGitCrendetialsStore(urlWithCrendentials); - launchCommandIn(workDir, "config", "--local", "credential.helper", "store --store=\"" + store.getAbsolutePath() + "\""); + launchCommandIn(workDir, "config", "--local", "credential.helper", "store --file=\"" + store.getAbsolutePath() + "\""); }

      }

            ndeloof Nicolas De Loof
            addictvim Dmitry Skorbovenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: