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

          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: