java.lang.RuntimeException: ssh executable not found. The git plugin only supports official git client http://git-scm.com/download/win

Jenkins JIRA | Alex Domoradov | 1 year ago
  1. 0

    Hello, I have installed msysgit under D:\git-1.9.5\Git. git.exe and ssh.exe are available in command prompt C:\Users\Administrator>git --version git version 1.9.5.msysgit.1 C:\Users\Administrator>ssh -V OpenSSH_6.6.1p1, OpenSSL 1.0.1m 19 Mar 2015 As I understood from the following error message {code:java} Started by user Administrator Building in workspace D:\jenkins\jobs\test\workspace > D:\git-1.9.5\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > D:\git-1.9.5\Git\cmd\git.exe config remote.origin.url ssh://git@gitlab.example.net.org/test/test.git # timeout=10 Fetching upstream changes from ssh://git@gitlab.example.net.org/test/test.git > D:\git-1.9.5\Git\cmd\git.exe --version # timeout=10 using GIT_SSH to set credentials gitlab deploy key FATAL: ssh executable not found. The git plugin only supports official git client http://git-scm.com/download/win java.lang.RuntimeException: ssh executable not found. The git plugin only supports official git client http://git-scm.com/download/win at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getSSHExecutable(CliGitAPIImpl.java:1531) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createWindowsGitSSH(CliGitAPIImpl.java:1537) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1300) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:324) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:733) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1282) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1744) at hudson.model. FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Finished: FAILURE {code} The plugin could not find the ssh.exe. Maybe related issue - https://issues.jenkins-ci.org/browse/JENKINS-21030 but as I can see the issue has been resolved.

    Jenkins JIRA | 1 year ago | Alex Domoradov
    java.lang.RuntimeException: ssh executable not found. The git plugin only supports official git client http://git-scm.com/download/win
  2. 0

    Hello, I have installed msysgit under D:\git-1.9.5\Git. git.exe and ssh.exe are available in command prompt C:\Users\Administrator>git --version git version 1.9.5.msysgit.1 C:\Users\Administrator>ssh -V OpenSSH_6.6.1p1, OpenSSL 1.0.1m 19 Mar 2015 As I understood from the following error message {code:java} Started by user Administrator Building in workspace D:\jenkins\jobs\test\workspace > D:\git-1.9.5\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > D:\git-1.9.5\Git\cmd\git.exe config remote.origin.url ssh://git@gitlab.example.net.org/test/test.git # timeout=10 Fetching upstream changes from ssh://git@gitlab.example.net.org/test/test.git > D:\git-1.9.5\Git\cmd\git.exe --version # timeout=10 using GIT_SSH to set credentials gitlab deploy key FATAL: ssh executable not found. The git plugin only supports official git client http://git-scm.com/download/win java.lang.RuntimeException: ssh executable not found. The git plugin only supports official git client http://git-scm.com/download/win at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getSSHExecutable(CliGitAPIImpl.java:1531) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createWindowsGitSSH(CliGitAPIImpl.java:1537) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1300) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:324) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:733) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1282) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1744) at hudson.model. FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Finished: FAILURE {code} The plugin could not find the ssh.exe. Maybe related issue - https://issues.jenkins-ci.org/browse/JENKINS-21030 but as I can see the issue has been resolved.

    Jenkins JIRA | 1 year ago | Alex Domoradov
    java.lang.RuntimeException: ssh executable not found. The git plugin only supports official git client http://git-scm.com/download/win
  3. 0

    Jenkins fails building

    Stack Overflow | 4 months ago | Andry
    java.lang.RuntimeException: ssh executable not found. The git plugin only supports official git client http://git-scm.com/download/win
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-28943] Windows git cannot clone ssh repo if Git is referenced from cmd directory and is in a non-default location - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    java.lang.RuntimeException: ssh executable not found. The git plugin only supports official git client http:
  6. 0

    [JENKINS-30045] Git client plugin does not work with new Git for Windows 2.5.0 - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    javax.servlet.ServletException: java.lang.RuntimeException: ssh executable not found. The git plugin only supports official git client http://git-scm.com/download/win

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      ssh executable not found. The git plugin only supports official git client http://git-scm.com/download/win

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getSSHExecutable()
    2. org.jenkinsci.plugins
      CliGitAPIImpl$1.execute
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getSSHExecutable(CliGitAPIImpl.java:1531)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createWindowsGitSSH(CliGitAPIImpl.java:1537)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1300)
      4. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86)
      5. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:324)
      5 frames
    3. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:733)
      2. hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)
      3. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)
      3 frames
    4. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.SCM.checkout(SCM.java:485)
      2. hudson.model.AbstractProject.checkout(AbstractProject.java:1282)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
      3 frames
    5. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
      2. hudson.model.Run.execute(Run.java:1744)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:374)
      5 frames