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

Support Aggregate-only action

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I cannot find an easy way to ONLY execute a step if it is the Matrix Aggregate. I was hoping "Never" on the section but then "Always" on the (checked) "Condition for Matrix Aggregation" would do it.

      I think "Condition for Matrix Aggregation" should have a new "Only" option that only runs at the end on the parent run.

      Currently, the workaround is "Execute Shell" and then:

      if [ -z "${AXIS}" ]; then echo Master job, running next job; exit 0; fi
      echo Not master job, aborting
      exit 1
      

        Attachments

          Activity

          Hide
          ikedam ikedam added a comment -

          You can describe more details.
          What publisher do you use and what is the behavior you expect?

          Show
          ikedam ikedam added a comment - You can describe more details. What publisher do you use and what is the behavior you expect?
          Hide
          aarondmarasco_vsi Aaron D. Marasco added a comment -

          The publisher itself shouldn't matter. I want the publisher to only be invoked by the master/parent of the matrix run.

          Show
          aarondmarasco_vsi Aaron D. Marasco added a comment - The publisher itself shouldn't matter. I want the publisher to only be invoked by the master/parent of the matrix run.

            People

            • Assignee:
              ikedam ikedam
              Reporter:
              aarondmarasco_vsi Aaron D. Marasco
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: