• Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • pipeline
    • None

      It'd be nice to have some syntactic sugar above parallel that would let us emulate the matrix axes of the Matrix Project type - a step that takes a map of variable/axis names with values as a list of possible values for the given axis, and a block of script to execute, which then generates all the permutations of those axes and runs them in parallel. This wouldn't make any changes to test reporting, FlowNode data, etc - it'd just handle execution.

          [JENKINS-36932] Add a "matrix" step to workflow-basic-steps

          Andrew Bayer created issue -
          Andrew Bayer made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Jesse Glick added a comment -

          Use Groovy libraries instead.

          Jesse Glick added a comment - Use Groovy libraries instead.
          Jesse Glick made changes -
          Resolution New: Won't Do [ 10001 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 173687 ] New: JNJira + In-Review [ 199481 ]

          I actually need the opposite here: the parallel part is easy enough*, but the missing test result grouping is a hard blocker for me. With 32 combinations across 3 matrix jobs and a total of around 6000 tests grouping is critical.

          jglick I haven't checked this for a while, there still is no test result grouping of parallel steps, right? Is that planned somewhere?

          *: actually the execution order of the matrix combinations is bad too: they get scheduled in alphabetical order, but scheduling based on execution time / diagonal across all axes would be much more useful to get test result feedback earlier.

          Ing. Christoph Obexer added a comment - I actually need the opposite here: the parallel part is easy enough*, but the missing test result grouping is a hard blocker for me. With 32 combinations across 3 matrix jobs and a total of around 6000 tests grouping is critical. jglick I haven't checked this for a while, there still is no test result grouping of parallel steps, right? Is that planned somewhere? *: actually the execution order of the matrix combinations is bad too: they get scheduled in alphabetical order, but scheduling based on execution time / diagonal across all axes would be much more useful to get test result feedback earlier.
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]

          Jesse Glick added a comment -

          missing test result grouping

          Right, that is the hard part: JENKINS-27395.

          Jesse Glick added a comment - missing test result grouping Right, that is the hard part: JENKINS-27395 .
          Jesse Glick made changes -
          Resolution Original: Won't Do [ 10001 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            abayer Andrew Bayer
            abayer Andrew Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: