-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Major
-
Component/s: git-plugin
-
Environment:Ubuntu 14.04
Jenkinks: 1.636
git-plugin: 2.4.0
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.14.04.1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
We got this error message, after starting a poll from post commit hook on gitBlit:
the normal git checkout in a build is working well, only at the poll there is this error:
Started on Nov 12, 2015 2:56:58 PM
Using strategy: Default
[poll] Last Built Revision: Revision b8c8a0784e2215de27b0d834bf971f7319e3785a (refs/remotes/origin/master)
using GIT_SSH to set credentials Benutzer für den Zugriff auf gitserver.de
> git --version # timeout=10
> git -c core.askpass=true ls-remote -h ssh://user@gitserver.de:29481/pathToRepo/repo.gi # timeout=10
FATAL: hudson.plugins.git.GitException: Command "git -c core.askpass=true ls-remote -h ssh://user@gitserver.de:29481/pathToRepo/repo.git" returned status code 128:
stdout:
stderr: /tmp/ssh3732838450907718667.sh: 6: /tmp/ssh3732838450907718667.sh: ssh: not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.