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

Maven plugin sends email notification to null address

    Details

    • Similar Issues:

      Description

      If you have configured your job to send an email notification on build fails and you do a new build, the email will be sent to the address(es) you specified and also to null, i.e "Sending e-mails to: your-mail@gmail.com null". Resulting in a mailer-daemon-mail on every build.

      This wasn't the case on 2.0-beta1 version, it appeared in 2.0 version.

      It could be an effect of JENKINS-19352 and/or JENKINS-1201.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Marcelo Rebasti
            Path:
            src/main/java/hudson/maven/reporters/MavenMailer.java
            src/test/java/hudson/maven/reporters/MavenMailerTest.java
            http://jenkins-ci.org/commit/maven-plugin/be124606838cd996bec4bcc7825204179cdcbb42
            Log:
            Fix: Maven plugin sends email notification to null address
            [FIXED JENKINS-20209]

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Marcelo Rebasti Path: src/main/java/hudson/maven/reporters/MavenMailer.java src/test/java/hudson/maven/reporters/MavenMailerTest.java http://jenkins-ci.org/commit/maven-plugin/be124606838cd996bec4bcc7825204179cdcbb42 Log: Fix: Maven plugin sends email notification to null address [FIXED JENKINS-20209]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Olivier Lamy
            Path:
            src/main/java/hudson/maven/reporters/MavenMailer.java
            src/test/java/hudson/maven/reporters/MavenMailerTest.java
            http://jenkins-ci.org/commit/maven-plugin/2a7ff90f7654caaeb398fa9b0cd2c9237cef1967
            Log:
            Merge pull request #7 from mrebasti/jenkins-20209

            [FIXED JENKINS-20209] Maven plugin sends email notification to null address

            Compare: https://github.com/jenkinsci/maven-plugin/compare/2033129dd5f3...2a7ff90f7654

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: src/main/java/hudson/maven/reporters/MavenMailer.java src/test/java/hudson/maven/reporters/MavenMailerTest.java http://jenkins-ci.org/commit/maven-plugin/2a7ff90f7654caaeb398fa9b0cd2c9237cef1967 Log: Merge pull request #7 from mrebasti/jenkins-20209 [FIXED JENKINS-20209] Maven plugin sends email notification to null address Compare: https://github.com/jenkinsci/maven-plugin/compare/2033129dd5f3...2a7ff90f7654
            Hide
            vlk Vladimir Kralik added a comment -

            Hi,

            when is the new version of this plugin planned ?
            My Jenkins spams me a lot because of "null" email-adress.

            vlk

            Show
            vlk Vladimir Kralik added a comment - Hi, when is the new version of this plugin planned ? My Jenkins spams me a lot because of "null" email-adress. vlk
            Hide
            mrebasti Marcelo Rebasti added a comment -

            Vladimir,

            You can downgrade the maven integration plugin to version 1.534 until version 2.1 comes to life.

            This can be done using the Update Center.

            Marcelo Rebasti

            Show
            mrebasti Marcelo Rebasti added a comment - Vladimir, You can downgrade the maven integration plugin to version 1.534 until version 2.1 comes to life. This can be done using the Update Center. Marcelo Rebasti
            Hide
            vlk Vladimir Kralik added a comment -

            Thank's. That downgrade helps me.

            Show
            vlk Vladimir Kralik added a comment - Thank's. That downgrade helps me.
            Hide
            vahtis Ville-Pekka Vahteala added a comment -

            I cannot see downgrade option in our Jenkins 1.538.

            Show
            vahtis Ville-Pekka Vahteala added a comment - I cannot see downgrade option in our Jenkins 1.538.
            Hide
            brunojcm Bruno Medeiros added a comment -

            Where is it fixed? I'm on Jenkins 1.544, Maven Integration plugin 2.0 and still experiencing the issue. My downgrade option is to 1.533, not 1.534.

            Show
            brunojcm Bruno Medeiros added a comment - Where is it fixed? I'm on Jenkins 1.544, Maven Integration plugin 2.0 and still experiencing the issue. My downgrade option is to 1.533, not 1.534.
            Hide
            mrebasti Marcelo Rebasti added a comment -

            Bruno, the fix will be present in the upcoming maven integration plugin 2.1. The only version with the bug is 2.0, so you can downgrade to 1.533 too.

            Show
            mrebasti Marcelo Rebasti added a comment - Bruno, the fix will be present in the upcoming maven integration plugin 2.1. The only version with the bug is 2.0, so you can downgrade to 1.533 too.
            Hide
            nmorado nomar morado added a comment -

            when is the schedule for 2.1?

            Show
            nmorado nomar morado added a comment - when is the schedule for 2.1?
            Hide
            epikur2412 epikur2412 added a comment -

            I installed Version 2.1 - and it looks good .
            (Maven 2/3 - Jobs, Jenkins V. 1544, Linux)

            Show
            epikur2412 epikur2412 added a comment - I installed Version 2.1 - and it looks good . (Maven 2/3 - Jobs, Jenkins V. 1544, Linux)
            Hide
            dmitry_baburkin Dmitry Baburkin added a comment -

            Could you please advise when Version 2.1 is going to be available for 1.532.1 LTS.

            Show
            dmitry_baburkin Dmitry Baburkin added a comment - Could you please advise when Version 2.1 is going to be available for 1.532.1 LTS.
            Hide
            kutzi kutzi added a comment -

            Dmitry, it's available already. Just update the Maven plugin to 2.1. There's nothing special about LTS in that respect.

            Show
            kutzi kutzi added a comment - Dmitry, it's available already. Just update the Maven plugin to 2.1. There's nothing special about LTS in that respect.
            Hide
            dmitry_baburkin Dmitry Baburkin added a comment -

            Kutzi, for some reason, Jenkins doesn't show that I can upgrade from 2.0 to 2.1.

            Show
            dmitry_baburkin Dmitry Baburkin added a comment - Kutzi, for some reason, Jenkins doesn't show that I can upgrade from 2.0 to 2.1.
            Hide
            gboucherie Guillaume Boucherie added a comment -

            Hi, the 2.1 version of Maven plugin required Jenkins 1.538 so I can't install it on LTS (1.532.1).
            It is possible to make a version with this bugfix compatible for Jenkins version 1.532.1 ?
            Thanks

            Show
            gboucherie Guillaume Boucherie added a comment - Hi, the 2.1 version of Maven plugin required Jenkins 1.538 so I can't install it on LTS (1.532.1). It is possible to make a version with this bugfix compatible for Jenkins version 1.532.1 ? Thanks
            Hide
            jglick Jesse Glick added a comment -

            @gboucherie asks

            It is possible to make a version with this bugfix compatible for Jenkins version 1.532.1?

            See https://github.com/jenkinsci/maven-plugin/commit/e01eb60574c45b6c16091bfd91a05aa36071df68#commitcomment-4588286 and CC @olivergondza.

            Show
            jglick Jesse Glick added a comment - @gboucherie asks It is possible to make a version with this bugfix compatible for Jenkins version 1.532.1? See https://github.com/jenkinsci/maven-plugin/commit/e01eb60574c45b6c16091bfd91a05aa36071df68#commitcomment-4588286 and CC @olivergondza.
            Hide
            dmitry_baburkin Dmitry Baburkin added a comment -

            Thanks guys, 2.0.1 worked for LTS 1.532.1

            Show
            dmitry_baburkin Dmitry Baburkin added a comment - Thanks guys, 2.0.1 worked for LTS 1.532.1
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            src/main/java/org/jenkinsci/test/acceptance/Matchers.java
            src/main/java/org/jenkinsci/test/acceptance/utils/mail/MailService.java
            src/test/java/plugins/MavenPluginTest.java
            http://jenkins-ci.org/commit/acceptance-test-harness/a4878c700d0fab5db68c33b93701f0658a1c54f6
            Log:
            Reproduce JENKINS-20209 and JENKINS-21045

            Compare: https://github.com/jenkinsci/acceptance-test-harness/compare/f6d1423b7335...a4878c700d0f

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/main/java/org/jenkinsci/test/acceptance/Matchers.java src/main/java/org/jenkinsci/test/acceptance/utils/mail/MailService.java src/test/java/plugins/MavenPluginTest.java http://jenkins-ci.org/commit/acceptance-test-harness/a4878c700d0fab5db68c33b93701f0658a1c54f6 Log: Reproduce JENKINS-20209 and JENKINS-21045 Compare: https://github.com/jenkinsci/acceptance-test-harness/compare/f6d1423b7335...a4878c700d0f

              People

              • Assignee:
                mrebasti Marcelo Rebasti
                Reporter:
                nacken Andreas Magnusson
              • Votes:
                0 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: