Hi,

I think someone has launch a build (according to the report, ke4qqq). Below you can see the traceback that we got; looks that the git setup is not the right one according to: https://issues.jenkins-ci.org/browse/JENKINS-16523

I suppose there are other projects already using git and jenkins in apache. So, could someone point me to the right settings to get it working?

Thanks!



-------- Original Message --------
Subject: Build failed in Jenkins: Marmotta #1
Date: Thu, 25 Apr 2013 18:23:31 +0000 (UTC)
From: Apache Jenkins Server  <[email protected]>
Reply-To: [email protected]
To: [email protected]

See <https://builds.apache.org/job/Marmotta/1/>

------------------------------------------
Started by user ke4qqq
Building remotely on solaris1 in workspace <https://builds.apache.org/job/Marmotta/ws/> Checkout:Marmotta / <https://builds.apache.org/job/Marmotta/ws/> - hudson.remoting.Channel@4abdad4c:solaris1
Using strategy: Default
Cloning the remote Git repository
Cloning repository https://git-wip-us.apache.org/repos/asf/incubator-marmotta.git Error trying to determine the git version: Error performing command: git --version
Assuming 1.6
ERROR: Error cloning remote repo 'origin' : Could not clone https://git-wip-us.apache.org/repos/asf/incubator-marmotta.git hudson.plugins.git.GitException: Could not clone https://git-wip-us.apache.org/repos/asf/incubator-marmotta.git
        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:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: hudson.plugins.git.GitException: Error performing command: git clone -o origin https://git-wip-us.apache.org/repos/asf/incubator-marmotta.git <https://builds.apache.org/job/Marmotta/ws/>
        at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:904)
        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
Caused by: java.io.IOException: Cannot run program "git": error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
        at hudson.Proc$LocalProc.<init>(Proc.java:244)
        at hudson.Proc$LocalProc.<init>(Proc.java:216)
        at hudson.Launcher$LocalLauncher.launch(Launcher.java:763)
        at hudson.Launcher$ProcStarter.start(Launcher.java:353)
        at hudson.Launcher$ProcStarter.join(Launcher.java:360)
        at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:885)
        ... 18 more
Caused by: java.io.IOException: error=2, No such file or directory
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
        ... 24 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:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)



On 25/04/13 16:26, Sergio Fernández wrote:
Hi,

I've just got access to Jenkins for setting up Marmotta builds there.
But when I tried to configure the job I'm getting this error:

Failed to connect to repository : Error performing command: git
ls-remote -h
https://git-wip-us.apache.org/repos/asf/incubator-marmotta.git HEAD

I tried with https://, http:// and git:// with the same result.

Do you have any idea what I'm doing wrong?

Thanks in advance.

Kind regards,


--
Sergio Fernández
Salzburg Research
+43 662 2288 318
Jakob-Haringer Strasse 5/II
A-5020 Salzburg (Austria)
http://www.salzburgresearch.at

Reply via email to