Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-554

Try to include name of broken module in subject of Hudson mail message

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • mailer-plugin
    • 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]".

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: