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

Join plugin 1.9 does not work with downstream matrix projects

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • join-plugin
    • None
    • Ubuntu (2.6.32-24-server)
      Hudson 1.377
      Join 1.9

      After upgrading the Join plugin to 1.9, it does not work if one of the downstream tasks is a matrix job. This is true for the basic join functionality, as well as the 'Run post-build actions at join -> Trigger parameterized build on other projects' functionality. Downgrading the plugin to 1.8 fixes this problem (of course, 'Run post-build actions at join' is broken with 1.8).

      Here's a simplified repro, where the 'downstream tasks' consists of a single matrix job:

      • Create Job_A (free-style). Make it call Job_B with 'trigger parametrized build', and set up some dummy pre-defined parameters to send to Job_B. Also make it call Job_C as the 'join' job, in the 'Projects to build once, after all downstream projects have finished' field
      • Create Job_B (matrix), give it some axis and values
      • Create Job_C (free-style)

      With that configuration, if I run Job_A, Job_B will run, but Job_C will not run. I have tested this with a mix of freestyle and matrix downstream jobs, with the same results - all the downstream jobs run, but the 'join job' does not run. I see the same behavior if I put Job_C into the Run post-build actions at join -> Trigger parameterized build on other projects' field instead of the 'Projects to build once, after all downstream projects have finished' field.

      If I downgrade the Join plugin to 1.8, this test works.

          [JENKINS-7521] Join plugin 1.9 does not work with downstream matrix projects

          sauravsengupta created issue -
          Stefan Wolf made changes -
          Attachment New: empty-parameterized-trigger.png [ 19789 ]
          Stefan Wolf made changes -
          Assignee Original: mdonohue [ mdonohue ] New: Stefan Wolf [ wolfs ]
          Stefan Wolf made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Stefan Wolf made changes -
          Link New: This issue depends on JENKINS-6274 [ JENKINS-6274 ]
          Stefan Wolf made changes -
          Fix Version/s New: current [ 10162 ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 137620 ] New: JNJira + In-Review [ 187593 ]

            wolfs Stefan Wolf
            sauravsengupta sauravsengupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: