When I started building a continuous integration server, I ran across the statement “It’s bad to break the build [of the code].” After finishing that project I came to the conclusion that
- “Breaking the build.” was a catchy phrase that was being thrown around a lot because of the alliteration, or
- I wasn’t understanding a key element of Continuous Integration.
So my question is in the spirit of #2: why is breaking the build a bad thing?
Because if other people check out your broken changes, they won’t be able to work, or if they do they will do so less efficiently.
It also means you’re not properly testing your changes before you commit, which is key in CI.