Mark, Sami Many thanks for the suggestion. Good news there has been progress. I am to build the project successfully.
I made 3 changes :- 1) Incorporated Mark's suggestion of using the Git Read only URL. 2) In the global configuration I changed the path to Git executable from C:\Program Files\Git\bin\git to C:\Program Files\Git\cmd\git.cmd 3) I change the project type from "Free Style Software project to "Maven 2/3 project" The progress has now brought me to the next problem ... but I have a created a new thread for this. Thank you for the good suggestions. Pete On May 13, 7:15 am, Sami Tikka <sjti...@gmail.com> wrote: > Mark's suggestion was a good one. Try to get the easy part working first. > > If it still does not work, it might be caused by Jenkins calling git via the > git.cmd wrapper script. I have heard that recent changes in git plugin are > incompatible with the git.cmd wrapper script. You can work around them by > calling git.exe directly, but then you have to make arrangements to have the > necessary environment variables in Jenkins user's environment. Sorry I > haven't got exact details, I just heard some windows developers at work ran > into this on their Jenkins. > > -- Sami > > Pete Long <petelon...@gmail.com> kirjoitti 13.5.2012 kello 3.25: > > > > > Hi All, > > > I going through the “Jenkins – The Definitive Guide” to basically > > learn about this tool. > > > I am attempting to set up my first Jenkins job by going through the > > steps described in the book – Chapter 2 “First Steps With Jenkins”. > > > I have gone the few steps and when I finally start the job, I am > > encountering the following error :- > > > Started by user anonymous > > Building in workspace C:\Users\Daddy\.jenkins\workspace\gameoflife- > > default > > Checkout:gameoflife-default / C:\Users\Daddy\.jenkins\workspace > > \gameoflife-default - hudson.remoting.LocalChannel@81b587 > > Using strategy: Default > > Cloning the remote Git repository > > Cloning repository origin > > ERROR: Error cloning remote repo 'origin' : Could not clone > > g...@github.com:PeteLong/game-of-life.git > > hudson.plugins.git.GitException: Could not clone > > g...@github.com:PeteLong/game-of-life.git > > at hudson.plugins.git.GitAPI.clone(GitAPI.java:245) > > at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1121) > > at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1063) > > at hudson.FilePath.act(FilePath.java:832) > > at hudson.FilePath.act(FilePath.java:814) > > at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1063) > > at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) > > at hudson.model.AbstractBuild > > $AbstractRunner.checkout(AbstractBuild.java:586) > > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java: > > 475) > > at hudson.model.Run.run(Run.java:1434) > > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > > at hudson.model.ResourceController.execute(ResourceController.java: > > 88) > > at hudson.model.Executor.run(Executor.java:239) > > Caused by: hudson.plugins.git.GitException: Error performing command: > > C:\Program Files\Git\bin\git clone --progress -o origin > > g...@github.com:PeteLong/game-of-life.git C:\Users\Daddy\.jenkins > > \workspace\gameoflife-default > > at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:786) > > at hudson.plugins.git.GitAPI.access$000(GitAPI.java:38) > > at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:241) > > at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:221) > > at hudson.FilePath.act(FilePath.java:832) > > at hudson.FilePath.act(FilePath.java:814) > > at hudson.plugins.git.GitAPI.clone(GitAPI.java:221) > > ... 12 more > > Caused by: java.lang.InterruptedException > > at java.lang.ProcessImpl.waitFor(Native Method) > > at hudson.Proc$LocalProc.join(Proc.java:319) > > at hudson.Launcher$ProcStarter.join(Launcher.java:345) > > at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:767) > > ... 18 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:1133) > > at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1063) > > at hudson.FilePath.act(FilePath.java:832) > > at hudson.FilePath.act(FilePath.java:814) > > at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1063) > > at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) > > at hudson.model.AbstractBuild > > $AbstractRunner.checkout(AbstractBuild.java:586) > > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java: > > 475) > > at hudson.model.Run.run(Run.java:1434) > > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > > at hudson.model.ResourceController.execute(ResourceController.java: > > 88) > > at hudson.model.Executor.run(Executor.java:239) > > > If I perform the line that appears to be fail > > "C:\Program Files\Git\bin\git clone --progress -o origin > > g...@github.com:PeteLong/game-of-life.git" > > > from the "GitBash" command line, everything is fine. > > > I using my PC running windows Vista and I also get the same problem on > > my Laptop running Windows 7. > > > Any suggestions as to fixing this problem would be appreciated. > > > I have googled for a solution but with no luck. > > > Thank You > > > Pete- Hide quoted text - > > - Show quoted text -