hudson.util.IOException2

hudson.plugins.git.GitException: Command "git ls-remote -h ssh://username@host/repository.git master" returned status code 128: stdout: stderr: error: cannot run ssh: No such file or directory fatal: unable to fork

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1602

  • via Jenkins JIRA by Jesse Cheng, 1 year ago
    hudson.plugins.git.GitException: Command "git ls-remote -h ssh://username@host/repository.git master" returned status code 128: stdout: stderr: error: cannot run ssh: No such file or directory fatal: unable to fork
  • via Jenkins JIRA by Jesse Cheng, 11 months ago
    hudson.plugins.git.GitException: Command "git ls-remote -h ssh://username@host/repository.git master" returned status code 128: stdout: stderr: error: cannot run ssh: No such file or directory fatal: unable to fork
  • via Jenkins JIRA by Rob Langley, 1 year ago
    hudson.plugins.git.GitException: Command "git ls-remote -h git@XXX:XXX/XXX.git master" returned status code 128: stdout: stderr: error: cannot run ssh: No such file or directory fatal: unable to fork
  • Stack trace

    • hudson.util.IOException2: hudson.plugins.git.GitException: Command "git ls-remote -h ssh://username@host/repository.git master" returned status code 128: stdout: stderr: error: cannot run ssh: No such file or directory fatal: unable to fork at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:462) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:357) at hudson.scm.SCM.poll(SCM.java:374) at hudson.model.AbstractProject._poll(AbstractProject.java:1428) at hudson.model.AbstractProject.poll(AbstractProject.java:1331) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:477) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:506) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: hudson.plugins.git.GitException: Command "git ls-remote -h ssh://username@host/repository.git master" returned status code 128: stdout: stderr: error: cannot run ssh: No such file or directory fatal: unable to fork at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1407) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1195) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1119) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1110) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:2004) at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:495) at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:460) ... 13 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 9 months ago
    Unknown user
    2 times, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 more bugmates