Cruise control.rb refusing to build a project
Here's the steps I used to debug:
Login to your Cruise Control box and cd to $BUILD_DIR/projects/$PROJ_NAME/work
Run the following command. This is how CC.rb figures out if updates have been made.
git log --pretty=raw --stat HEAD..origin/masterWhen I ran this command, I was getting "warning: refname 'origin/master' is ambiguous." returned. After some google searches, I landed upon some mailing list messages that pointed me towards the issue.
The reason git was complaining about origin/master being ambiguous was that someone created a tag named "origin/master" (the beating has been scheduled).
I had to delete this tag locally by running the following command.
git tag -d origin/masterThen I had to delete the remote branch by running the following.
git push origin :refs/tags/origin/masterNow the CC server is working properly.
Labels: broken, build, cruise, cruise control, cruise control.rb, git, tag


