-
Improvement
-
Resolution: Won't Fix
-
Major
-
None
-
Platform: All, OS: All
To better alert the guilty party(ies), it would be great to have Hudson try to
insert some information about what exactly broke in the subject of the mail it
sends to the broken builds alias. Suggestions:
1. Failed unit test? Include the test name.
2. Failed Maven module? Include the display name and goal.
3. Failed Ant build? Include the (sub-)project name and target.
Unfortunately the standard Ant logger does not print anything (predictable) when
entering a sub-build, and for a big project with hundreds of modules, printing
only the failed target name is useless. So would perhaps need to insert a custom
Hudson logger (which would not work well for people invoking Ant from a shell
script? unless ANT_OPTS can be used); or try to look for other likely failure
causes, e.g. javac messages not preceded by "[warning]".