How to prevent builds when another build fails?


I have created many build configurations in Hudson for a single solution (eg. Release, Debug, Test) When I commit something wrong, I receive 1 build failed e-mail for every build configuration. I would like to receive a single e-mail. I think if I could to make one build dependent on the success or failure of another, I could receive less e-mails.

How to do that?

BTW: I use MsBuild, Subversion and NAnt

You can use the build trigger "build after other projects are build" to put projects up- or downstream from one another. Then you typically let the lighter builds go first (like simple compile).