CruiseControl.rb and Bazaar

Today I was investigating Continuous Integration solutions for rails projects. In the end I ended up settling on CruiseControl.rb mainly because it’s a rails app and most of the others where Java based.

The only problem is that CruiseControl.rb doesn’t currently support Bazaar, in fact the released version only supports SVN while the development version supports Git and Mercurual.

Anyway after a couple of hours of hacking I came up with the following patch which I’ve filed as a bug.

4 thoughts on “CruiseControl.rb and Bazaar

  1. What was it about being a rails project that made it incompatible with existing CI servers? From my point of view the CI server shouldn’t care what type of project you are working with. Java, C++, C#, Rails, Groovy, etc. should all be one and the same.

    The same goes for VCS integration. If your CI is too tightly bound to your VCS, you’ll run into problems like you hit, where you have to write your own code to get around the issues.

    The CI system should be loosely coupled to your dev environment. If it tries to know too much about what you are doing, then ultimately it won’t be flexible enough to adapt to new projects and methodologies.

    1. @Mr. Hericus

      I should have been a bit more specific. In this particular case my server was already setup to run rails apps and it was simply much simpler to setup another rails app than to have to install say Tomcat to get a java CI rig running. Purely a case of sysadmin laziness in this case. đŸ™‚

      In this case the VCS integration is fairly loose. It’s not that complicated a patch basially a matter of

      • What command do you run to checkout, update etc
      • How do you parse the log output to get author, date etc

      John

  2. CC has been great. It has done me a great service since 2001 when I srettad using it. So far I stuck with it, because I really new everything about it — having used it continuously for 9 years!However, I jumped to Hudson a month ago and don’t look back. I somehow feel sad that CC which was the very pioneer of continuous integration did not keep up with the development. RIP CC

Leave a Reply

Your email address will not be published. Required fields are marked *