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

'C:\Program' is not recognized as an internal or external command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • git-client-plugin
    • None

      I tried to setup a test project, using a git project connecting through ssh.
      After selecting the ssh credential and adding the git URL (ssh://git@bitbucket.org/CLIENT/test.git) I get the following message:
      ---------------
      Failed to connect to repository : Command "C:/Progra~1/Git/bin/git.exe -c core.askpass=true ls-remote -h ssh://git@bitbucket.org/CLIENT/test.git HEAD" returned status code 128:
      stdout:
      stderr: 'C:\Program' is not recognized as an internal or external command,
      operable program or batch file.
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists.
      --------------

      My setup:
      Jenkins: 1.633
      GIT client plugin: 1.19.0
      GIT plugin: 2.4.0

      Jenkins Git Configuration is set to: C:/Progra~1/Git/bin/git.exe
      Git 2.6.1 from https://git-scm.com/downloads.

            Unassigned Unassigned
            flaviodonze Flavio Donzé
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: