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

postbuildscript-plugin is unable to limit execution on matrix parent only

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Not A Defect
    • Component/s: postbuildscript-plugin
    • Labels:
      None
    • Environment:
      Ubuntu 16.04
      Jenkins core: 2.107.3
      postbuildscript-plugin: upgraded from 0.17 to 2.7.0
    • Similar Issues:

      Description

      I just upgraded the plugin from 0.17 to the latest 2.7.0.

      For a matrix job (multi-configuration job),
      back in 0.17,
      I was able to select "Execute script on":
      MATRIX - executed for matrix parent job only
      AXES - executed for each matrix axes jobs
      BOTH - executed for both matrix parent and axes jobs

      But in 2.7.0,
      I don't see such configuration anymore.
      I see only "Execution is limited to":
      Master
      Slave
      Both

      When selecting "Master",
      the execution still runs for both matrix parent and axes jobs.

        Attachments

        1. Selection_019.png
          Selection_019.png
          21 kB
        2. Selection_020.png
          Selection_020.png
          14 kB
        3. Selection_021.png
          Selection_021.png
          33 kB

          Activity

          Hide
          totoroliu Rick Liu added a comment -

          I just found a separate postbuild step called "Execute Scripts on Matrix":
          this allowed "Matrix target" selection for:
          MATRIX
          AXES
          BOTH

          Show
          totoroliu Rick Liu added a comment - I just found a separate postbuild step called "Execute Scripts on Matrix": this allowed "Matrix target" selection for: MATRIX AXES BOTH

            People

            • Assignee:
              dheid Daniel Heid
              Reporter:
              totoroliu Rick Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: