I am trying to use git with Jenkins.

The URL that i have been given is:
git clone 10.100.243.212:/var/www/invo_app , which works as an LDAP user on 
command line:


But when i use Jenkins , i get:


Cloning repository ssh:///[email protected]:/var/www/invo_app
git --version
git version 1.7.9.5
ERROR: Error cloning remote repo 'origin' : Could not clone 
ssh:///[email protected]:/var/www/invo_app hudson.plugins.git.GitException: 
Could not clone ssh:///[email protected]:/var/www/invo_app at 
hudson.plugins.git.GitAPI.clone(GitAPI.java:273) at 
hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1044) at 
hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986) at 
hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) at 
hudson.remoting.UserRequest.perform(UserRequest.java:118) at 
hudson.remoting.UserRequest.perform(UserRequest.java:48) at 
hudson.remoting.Request$2.run(Request.java:326) at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
 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 "/usr/bin/git clone --progress -o 
origin ssh:///[email protected]:/var/www/invo_app 
/home/kahmed/workspace/invo_app" returned status code 128:
stdout: Cloning into '/home/kahmed/workspace/invo_app'... stderr: ssh: Could 
not resolve hostname : Name or service not known
fatal: The remote end hung up unexpectedly at 
hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897) at 
hudson.plugins.git.GitAPI.access$000(GitAPI.java:42) at 
hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:269) at 
hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:248) at 
hudson.FilePath.act(FilePath.java:865) at 
hudson.FilePath.act(FilePath.java:838) at 
hudson.plugins.git.GitAPI.clone(GitAPI.java:248) ... 12 more
Trying next repository
ERROR: Could not clone repository FATAL: Could not clone 
hudson.plugins.git.GitException: Could not clone at 
hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1056) at 
hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986) at 
hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) at 
hudson.remoting.UserRequest.perform(UserRequest.java:118) at 
hudson.remoting.UserRequest.perform(UserRequest.java:48) at 
hudson.remoting.Request$2.run(Request.java:326) at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
 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)

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to