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

Matrix Job main job has no support for post-build actions

      Hi,

      I have an important issue with Matrix Jobs.

      I have an 'e-mail notification' Post-build step for several Matrix Jobs on our Jenkins server.

      When the master Job (which triggers the matrix jobs) fail (e.g. checkout the subversion repository fails), then no e-mail notification is sent.

      This way we never get notified when for example a weekly build is failing.
      If we don't check Jenkins manually, we maybe miss this for a long time because we think the Jobs build correctly!

      I think we should be able to:
      1. Add Post-build steps to the "master" Job
      2. OR Mark a post-build step to be executed by the "master" Job also...

          [JENKINS-20984] Matrix Job main job has no support for post-build actions

          Oleg Nenashev added a comment -

          "As designed".
          Matrix Projects has their own publisher called "MatrixAggregator". Common publishers cannot be used, because the matrix job is a "lightweight" task, which can be executed without free executors.

          In the case of e-mail notifications, you could use "Extended E-mail" plugin, which provides such functionality. FlexiblePublish plugin also allows to call common publishers on matrix parent jobs

          Oleg Nenashev added a comment - "As designed". Matrix Projects has their own publisher called "MatrixAggregator". Common publishers cannot be used, because the matrix job is a "lightweight" task, which can be executed without free executors. In the case of e-mail notifications, you could use "Extended E-mail" plugin, which provides such functionality. FlexiblePublish plugin also allows to call common publishers on matrix parent jobs

            Unassigned Unassigned
            tom_ghyselinck Tom Ghyselinck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: