Works now, thanks to Mark pointing out the memory error.
Jenkins needs some more RAM to use external software like GIT.
Op donderdag 22 november 2012 15:50:12 UTC+1 schreef Casper het volgende:
>
> It returns nothing, but when I omit the HEAD at the end, it returns all
> the head
It returns nothing, but when I omit the HEAD at the end, it returns all the
head just fine:
jenkins@damocles:/home/casper/git/4xS$ /usr/bin/git ls-remote -h
file:///home/casper/git/4xS/.git HEAD
jenkins@damocles:/home/casper/git/4xS$ /usr/bin/git ls-remote -h
file:///home/casper/git/4xS/.git
oes not seem to be able to use GIT properly.
Whenever I insert a GIT repository in a Jenkins project, regardless whether
it's local or remote through the ssh protocol, it always gives me this
error:
Failed to connect to repository : Error performing command: /usr/bin/git
ls-remote -h file://