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

Using several email notifications using conditional post build actions the email addresses are overwritten with the first one

      Setting up the flexible-publish plugin with several conditional post-build actions in a multi-configuration project where every conditional action is an email notification depending on the project axis.
      Although there are different email addresses set in each conditional action, after saving the configuration the email adresses are all the same in each conditional action. It seems that always the email address of the first conditional action is used to be stored in all other conditional actions.

          [JENKINS-20226] Using several email notifications using conditional post build actions the email addresses are overwritten with the first one

          ikedam added a comment -

          Mailer plugin is not designed to be configured multiple times in a job.
          Try Email-ext plugin, which should work fine with Flexibke Publisher plugin.

          ikedam added a comment - Mailer plugin is not designed to be configured multiple times in a job. Try Email-ext plugin, which should work fine with Flexibke Publisher plugin.

          ikedam added a comment -

          Mailer plugin should support @DataBoundConstructor.

          ikedam added a comment - Mailer plugin should support @DataBoundConstructor .

          ikedam added a comment -

          Sent a pull request https://github.com/jenkinsci/mailer-plugin/pull/8 .
          This would be fixed in the new version of Mailer plugin.

          ikedam added a comment - Sent a pull request https://github.com/jenkinsci/mailer-plugin/pull/8 . This would be fixed in the new version of Mailer plugin.

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/tasks/Mailer.java
          src/main/resources/hudson/tasks/Mailer/config.jelly
          src/test/java/hudson/tasks/MailerTest.java
          http://jenkins-ci.org/commit/mailer-plugin/557b3ec6f6ba005700ccc87da3c473e516902971
          Log:
          [FIXED JENKINS-20226] Supports @DataBoundConstructor.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/tasks/Mailer.java src/main/resources/hudson/tasks/Mailer/config.jelly src/test/java/hudson/tasks/MailerTest.java http://jenkins-ci.org/commit/mailer-plugin/557b3ec6f6ba005700ccc87da3c473e516902971 Log: [FIXED JENKINS-20226] Supports @DataBoundConstructor.

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/tasks/Mailer.java
          src/test/java/hudson/tasks/MailerTest.java
          http://jenkins-ci.org/commit/mailer-plugin/93ad8a716f7ce71992f4f5658d18c4650d38b8bd
          Log:
          JENKINS-20226 Restored hudsonUrl, which is referred by JenkinsLocationConfiguration. Added a test to verify JenkinsLocationConfiguration can refer it.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/tasks/Mailer.java src/test/java/hudson/tasks/MailerTest.java http://jenkins-ci.org/commit/mailer-plugin/93ad8a716f7ce71992f4f5658d18c4650d38b8bd Log: JENKINS-20226 Restored hudsonUrl, which is referred by JenkinsLocationConfiguration. Added a test to verify JenkinsLocationConfiguration can refer it.

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/java/hudson/tasks/Mailer.java
          src/main/resources/hudson/tasks/Mailer/config.jelly
          src/test/java/hudson/tasks/MailerTest.java
          http://jenkins-ci.org/commit/mailer-plugin/9043e7a91d42d268c10d2728c094ede6a469f2f2
          Log:
          Merge pull request #8 from ikedam/feature/JENKINS-20226_DataBoundConstructor

          [FIXED JENKINS-20226] Supports @DataBoundConstructor.

          Compare: https://github.com/jenkinsci/mailer-plugin/compare/e77966567d22...9043e7a91d42

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/tasks/Mailer.java src/main/resources/hudson/tasks/Mailer/config.jelly src/test/java/hudson/tasks/MailerTest.java http://jenkins-ci.org/commit/mailer-plugin/9043e7a91d42d268c10d2728c094ede6a469f2f2 Log: Merge pull request #8 from ikedam/feature/ JENKINS-20226 _DataBoundConstructor [FIXED JENKINS-20226] Supports @DataBoundConstructor. Compare: https://github.com/jenkinsci/mailer-plugin/compare/e77966567d22...9043e7a91d42

            ikedam ikedam
            dildab Patrick Giesel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: