R – What does CruiseControl (or any other CI tool) give more than well-written (n)Ant

continuous integrationnant

We have a large collection of nAnt scripts that build our various products. They almost all have the following structure:

  1. Erase old working copy.
  2. Check out complete fresh copy from version control.
  3. Increment build number in appropriate file (custom nAnt task).
  4. Run static analysis (StyleCop, Perl scripts)
  5. Build solution using Visual Studio – ends up with MSI output.
  6. Run unit tests (nUnit, JSUnit)
  7. Run static analysis (FxCop)
  8. Zip up deliverables (MSI, readme, etc) into well-named package.
  9. Put this zip package onto a server share.
  10. Email results to team.

From our research, it seems that CruiseControl(.net?)/Hudson/BuildBot would only add the trigger that causes the build, which at the moment is double-clicking the nAnt script over Remote Desktop and a status dashboard.

Are we missing anything else significant?

Best Answer

The question is subjective, and thus so is my answer.

In the projects I've automated before, CruiseControl was used essentially for that one purpose: so we didn't have to remote into the build machine and trigger builds. The CI part is that CruiseControl will monitor the repository for you, triggering builds at the intervals you define.

It also gave us the dashboard from which could trigger releases, or go back to examine logs and artefacts from past builds.

For us that was enough benefit to implement CruiseControl. Perhaps it doesn't "seem" like much until you've finished it and a month later realized you haven't had to touch your build system because it's off silently and thanklessly doing its thing for you.

Related Topic