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

Hudson sending too many emails for Maven module failure

    Details

    • Type: Patch
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      all

      Description

      Hudson sends an email for a module with a failure and another email for the job failure as well.
      A single email notifying of a job failure would be enough.

      1. hudson-5695.diff
        4 kB
        sberan
      2. hudson-5695.diff
        4 kB
        sberan
      1. screenshot-5695.jpg
        16 kB

        Activity

        Hide
        sberan sberan added a comment - - edited

        I have created a patch for the maven2 plugin which allows the user to turn on/off e-mails for individual modules.

        Show
        sberan sberan added a comment - - edited I have created a patch for the maven2 plugin which allows the user to turn on/off e-mails for individual modules.
        Hide
        sberan sberan added a comment -

        I updated the patch to provide help text.

        Show
        sberan sberan added a comment - I updated the patch to provide help text.
        Hide
        abayer abayer added a comment -

        This looks reasonable, but it'd be best if there was a test as well.

        Show
        abayer abayer added a comment - This looks reasonable, but it'd be best if there was a test as well.
        Hide
        vajav vajav added a comment -

        is this issue going to be fixed? it would be great... =)

        Show
        vajav vajav added a comment - is this issue going to be fixed? it would be great... =)
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: imod
        Path:
        changelog.html
        maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java
        maven-plugin/src/main/java/hudson/maven/reporters/MavenMailer.java
        maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
        maven-plugin/src/main/webapp/per-module-email.html
        test/src/test/java/hudson/maven/reporters/MavenMailerTest.java
        http://jenkins-ci.org/commit/jenkins/4b2e23b197fa40612fcf59c5eb3dd81a8a5fd654
        Log:
        [FIXED JENKINS-5695] Jenkins sending too many emails for Maven module failure

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: imod Path: changelog.html maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java maven-plugin/src/main/java/hudson/maven/reporters/MavenMailer.java maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly maven-plugin/src/main/webapp/per-module-email.html test/src/test/java/hudson/maven/reporters/MavenMailerTest.java http://jenkins-ci.org/commit/jenkins/4b2e23b197fa40612fcf59c5eb3dd81a8a5fd654 Log: [FIXED JENKINS-5695] Jenkins sending too many emails for Maven module failure
        Hide
        dogfood dogfood added a comment -
        Show
        dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1388
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: imod
        Path:
        src/main/java/hudson/maven/MavenModuleSet.java
        src/main/java/hudson/maven/reporters/MavenMailer.java
        src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
        src/main/webapp/per-module-email.html
        http://jenkins-ci.org/commit/maven-plugin/31ccddb5498e8e5b02027689105940250e885ca3
        Log:
        [FIXED JENKINS-5695] Jenkins sending too many emails for Maven module failure

        Originally-Committed-As: 4b2e23b197fa40612fcf59c5eb3dd81a8a5fd654

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: imod Path: src/main/java/hudson/maven/MavenModuleSet.java src/main/java/hudson/maven/reporters/MavenMailer.java src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly src/main/webapp/per-module-email.html http://jenkins-ci.org/commit/maven-plugin/31ccddb5498e8e5b02027689105940250e885ca3 Log: [FIXED JENKINS-5695] Jenkins sending too many emails for Maven module failure Originally-Committed-As: 4b2e23b197fa40612fcf59c5eb3dd81a8a5fd654

          People

          • Assignee:
            abayer abayer
            Reporter:
            jgon jgon
          • Votes:
            20 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: