Keeping CI green

Tracked in MIFOS-4421

We have often seen that CI server build fails and

  1. there are more commits on the broken build
  2. other developers interested in commiting have to trace people to check whether someone is fixing the build or not
  3. the person whose commit broke the build is not aware of it
  4. sometimes we have to revert multiple commits, causing additional work

This proposal is to help avert such issues by:

  1. 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.
  2. Setting up a commit gate
    1. 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: