Keeping CI green
Tracked in MIFOS-4421
We have often seen that CI server build fails and
- there are more commits on the broken build
- other developers interested in commiting have to trace people to check whether someone is fixing the build or not
- the person whose commit broke the build is not aware of it
- sometimes we have to revert multiple commits, causing additional work
This proposal is to help avert such issues by:
- Configuring Hudson so that an email can be sent when the build is broken to the commiter. An email is sent to all developers when the build is fixed.
- Setting up a commit gate
- look at Adam Monsen's idea on setting up a "safepush" alias/wrapper (instead of a pre-push hook; git does not support pre-push hooks)
See also: