At my last job, whenever a commit wouldn't build, we would blast it into a slack channel with an alert that included the comment and the name of the developer.
This was in the days before automated CI, so a broken commit meant that someone wasn't running the required tests.