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

No e-mail when using other/template post-build steps

    Details

    • Similar Issues:

      Description

      We have several jobs which share Post-Build Actions.
      All jobs are MultiConfiguration Jobs.

      A main job (Let's call it e.g. MyMainJob) actually acts as a template job.
      The other (secondary) jobs use the Post-Build Actions from MyMainJob.

      1. When the main job build fails e-mail notifications are sent properly. We see info in the console output.
      2. When one of the other (secondary) jobs fails, the e-mail notifications are not sent. Nothing is shown in the console output either.

      Same count for any other e-mail that's supposed to be sent (Fixed, Unstable, ...)

      Relevant configuration of the email-ext is:

      • Fixed Project Recipient List
      • Attach Build Log: _Compress and Attach Build log
      • Trigger for matrix projects: Trigger only parent job
      • Triggers:
        • Failure - 1st (using default config)
        • Failure - Still (using default config)
        • Failure -> Unstable (Test Failures) (using default config)
        • Unstable (Test Failures) - 1st (using default config)
        • Unstable (Test Failures) - Still (using default config)
        • Unstable (Test Failures)/Failure -> Success (using default config)
      • other settings: default config

        Attachments

          Issue Links

            Activity

            Hide
            tom_ghyselinck Tom Ghyselinck added a comment -

            Hi Alex Earl,

            This is actually a follow-up for the original issue: When I change
            Trigger for matrix projects: Trigger only parent job
            to
            Trigger for matrix projects: Trigger for each configuration
            it does work as expected.

            I opened a new issue JENKINS-28228

            Show
            tom_ghyselinck Tom Ghyselinck added a comment - Hi Alex Earl , This is actually a follow-up for the original issue: When I change Trigger for matrix projects : Trigger only parent job to Trigger for matrix projects : Trigger for each configuration it does work as expected. I opened a new issue JENKINS-28228
            Hide
            tom_ghyselinck Tom Ghyselinck added a comment -

            This may be the same issue, or at least related to it

            Show
            tom_ghyselinck Tom Ghyselinck added a comment - This may be the same issue, or at least related to it
            Hide
            tom_ghyselinck Tom Ghyselinck added a comment -

            Component has changed, but it looks like the Assignee hasn't been defaulted to the new component.

            I just trigger this because this requires us to do quite some maintenance to avoid floods of e-mails to our developers.

            Thank you very much in advance for looking into it!

            Show
            tom_ghyselinck Tom Ghyselinck added a comment - Component has changed, but it looks like the Assignee hasn't been defaulted to the new component. I just trigger this because this requires us to do quite some maintenance to avoid floods of e-mails to our developers. Thank you very much in advance for looking into it!
            Hide
            tom_ghyselinck Tom Ghyselinck added a comment -

            Same issue here!

            Show
            tom_ghyselinck Tom Ghyselinck added a comment - Same issue here!
            Hide
            tom_ghyselinck Tom Ghyselinck added a comment -

            Hi Alex Earl,

            I just found that an important thing is the Main Job is also a Matrix Job.

            When I have a similar configuration with the Main Job being a FreeStyle Job, then it seems to work.

            Note: In the latter case, I'm not able to define Trigger for matrix projects to either

            • Trigger only parent job
            • or Trigger for each configuration

            It looks like it defaults to the last one.

            ... which explains why it works when I have a FreeStyle project as Main Job

            Show
            tom_ghyselinck Tom Ghyselinck added a comment - Hi Alex Earl , I just found that an important thing is the Main Job is also a Matrix Job . When I have a similar configuration with the Main Job being a FreeStyle Job , then it seems to work. Note : In the latter case, I'm not able to define Trigger for matrix projects to either Trigger only parent job or Trigger for each configuration It looks like it defaults to the last one. ... which explains why it works when I have a FreeStyle project as Main Job

              People

              • Assignee:
                huybrechts huybrechts
                Reporter:
                tom_ghyselinck Tom Ghyselinck
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: