fatal: /usr/bin/git-pull cannot be used without a working tree.
Ian Phillips <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hi.
I am trying to setup CC (2.7.2) with a git repository.
I am getting the following error in CC
[cc]Jun-09 17:23:54 Project - Project gitspacegame: bootstrapping
[cc]Jun-09 17:23:54 jectController- gitspacegame Controller: build progress
event: bootstrapping
[cc]Jun-09 17:23:54 itBootstrapper- fatal: /usr/bin/git-pull cannot be used
without a working tree.
[cc]Jun-09 17:23:54 Project - Project gitspacegame: idle
[cc]Jun-09 17:23:54 jectController- gitspacegame Controller: build progress
event: idle
[cc]Jun-09 17:23:54 Project - exception attempting build in project
gitspacegame
net.sourceforge.cruisecontrol.CruiseControlException: git process exited
with error code 1
at
net.sourceforge.cruisecontrol.util.CommandExecutor.executeAndWait(CommandExecutor.java:119)
at
net.sourceforge.cruisecontrol.util.Commandline.executeAndWait(Commandline.java:612)
at
net.sourceforge.cruisecontrol.bootstrappers.GitBootstrapper.bootstrap(GitBootstrapper.java:96)
at net.sourceforge.cruisecontrol.Project.bootstrap(Project.java:768)
at net.sourceforge.cruisecontrol.Project.build(Project.java:194)
at net.sourceforge.cruisecontrol.Project.execute(Project.java:149)
at
net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:385)
at
net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
at java.lang.Thread.run(Thread.java:619)
[cc]Jun-09 17:23:54 Project - Project gitspacegame: next build in 1
minutes
[cc]Jun-09 17:23:54 Project - Project gitspacegame: waiting for next
time to build
[cc]Jun-09 17:23:54 jectController- gitspacegame Controller: build progress
event: waiting for next time to build
This is my config file:
<project name="gitspacegame">
<plugin name="gitbootstrapper"
classname="net.sourceforge.cruisecontrol.bootstrappers.GitBootstrapper"/>
<plugin name="git"
classname="net.sourceforge.cruisecontrol.sourcecontrols.Git"/>
<property name="repo_path" value="projects/gitspacegame/.git"/>
<bootstrappers>
<gitbootstrapper LocalWorkingCopy="${repo_path}"/>
</bootstrappers>
I have googled but cannot find any information on this error. What is the
error telling me? I am able to do a PULL on the repository
projects/gitspacegame/.git manually outside of CC.
Thanks
Ian
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user