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

Maven plugin sends email notification to null address

      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.

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

          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]

          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]

          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

          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

          Hi,

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

          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

          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

          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

          Thank's. That downgrade helps me.

          Vladimir Kralik added a comment - Thank's. That downgrade helps me.

          I cannot see downgrade option in our Jenkins 1.538.

          Ville-Pekka Vahteala added a comment - I cannot see downgrade option in our Jenkins 1.538.

          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.

          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.

          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.

          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.

          nomar morado added a comment -

          when is the schedule for 2.1?

          nomar morado added a comment - when is the schedule for 2.1?

          epikur2412 added a comment -

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

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

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

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

          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.

          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.

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

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

          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

          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

          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.

          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.

          Thanks guys, 2.0.1 worked for LTS 1.532.1

          Dmitry Baburkin added a comment - Thanks guys, 2.0.1 worked for LTS 1.532.1

          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

          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

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

              Created:
              Updated:
              Resolved: