Tuesday, April 08, 2008

Start playing the Continuous Integration game for real

I read "The Continuous Integration Build Game" 6 months ago, just when I had found Hudson. The idea behind the game seemed so simple and at that time we had problems with people comitting code that broke the build and failed the (very few) unit tests. I thought that the game could help out, as people like competitions and they would try to "win" the game. To win the game the developers have to commit code that is compiling and add unit tests.

The rules of the game are:
* -10 for breaking a build
* +1 for doing a build with no failures
* -1 for each new test failures
* +1 for each new test that passes

The plugin is more a proof of concept than a real full fledged plugin that will suit everyone. Thus the points for each rule are hard coded and can not be changed in this release. So if you are finding this plugin useful let me know.

For each build you will get a summary stating how many points the build was worth, and if you want you can see what rules that were involved.

The plugin installs a leader board on the front page, which shows who are on top.