Imesh, that build ran on a windows machine.  If you want to run your build on
windows, someone will have to install git on it.  I think the best way is to
request it via a JIRA ticket with the "Jenkins" component
https://issues.apache.org/jira/browse/INFRA/component/12312118

But it seems more likely that you might not want to run your build on windows.
You can change that via the "Restrict where this project can be run" setting on
your job configuration.  The "ubuntu" label is a common one to use, but there
are others too.  Note that there has lately been a large backlog of jobs on the
ubuntu hosts, so it'll take quite a while for a job to run.  Other threads on
this list are discussing that issue.

On 12/11/13 1:31 AM, Imesh Gunaratne wrote:
> Hi All,
> 
> I just setup a Jenkins job for Apache Stratos (incubating) nightly build in
> builds.apache.org, but it seems like the following error is raised when the
> build is triggered.
> 
> Really appreciate your thoughts on this.
> 
> Jenkins Job: Apache-Stratos-Nightly-Build
> 
> Started by user imesh <https://builds.apache.org/user/imesh>
> Building remotely on windows2
> <https://builds.apache.org/computer/windows2> in workspace
> f:\jenkins\jenkins-slave\workspace\Apache-Stratos-Nightly-Build
> Cloning the remote Git repository
> Cloning repository 
> https://git-wip-us.apache.org/repos/asf/incubator-stratos.git
> Error trying to determine the git version: Error performing command: --version
> Assuming 1.6
> ERROR: Error cloning remote repo
> 'origin'hudson.plugins.git.GitException
> <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>:
> Could not clone
> https://git-wip-us.apache.org/repos/asf/incubator-stratos.git
>       at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:310)
> <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute&entity=method>
>       at 
> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:151)
> <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call&entity=method>
>       at 
> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:144)
> <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call&entity=method>
>       at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method>
>       at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method>
>       at hudson.remoting.Request$2.run(Request.java:328)
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request$2.run&entity=method>
>       at 
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.InterceptingExecutorService$1.call&entity=method>
>       at java.util.concurrent.FutureTask.run(Unknown Source)
>       at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>       at hudson.remoting.Engine$1$1.run(Engine.java:63)
>       at java.lang.Thread.run(Unknown Source)
> Caused by: hudson.plugins.git.GitException: Error performing command:
> clone -o origin
> https://git-wip-us.apache.org/repos/asf/incubator-stratos.git
> f:\jenkins\jenkins-slave\workspace\Apache-Stratos-Nightly-Build
>       at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:988)
>       at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:920)
>       at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(CliGitAPIImpl.java:64)
>       at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:308)
>       ... 11 more
> Caused by: java.io.IOException: Cannot run program "git":
> CreateProcess error=2, The system cannot find the file specified
>       at java.lang.ProcessBuilder.start(Unknown Source)
>       at hudson.Proc$LocalProc.<init>(Proc.java:244)
>       at hudson.Proc$LocalProc.<init>(Proc.java:216)
>       at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
>       at hudson.Launcher$ProcStarter.start(Launcher.java:353)
>       at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:977)
>       ... 14 more
> Caused by: java.io.IOException: CreateProcess error=2, The system
> cannot find the file specified
>       at java.lang.ProcessImpl.create(Native Method)
>       at java.lang.ProcessImpl.<init>(Unknown Source)
>       at java.lang.ProcessImpl.start(Unknown Source)
>       ... 20 more
> 
> 
> 
> Many Thanks
> 
> Imesh
> 



-- 
Dave Brondsema : d...@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
              <><

Reply via email to