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

Can only sort execution order when running sequentially

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: matrix-project-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.66, Matrix Project Plugin 1.11
    • Similar Issues:

      Description

      I would like the ability to sort the order in which configurations are executed. It appears the design of the plugin allows this to be done via an extension (e.g. the matrix sorter plugin), however The Matrix Project Plugin doesn't appear to offer a way to create an extension and sort the order of configurations when executing them in parallel.

      The Matrix Project Plugin allows you to extend MatrixConfigurationSorter and MatrixConfigurationSorterDescriptor, but this is all tied to checking the "Run each configuration sequentially" checkbox. This seems like two different features combined into one UI option. Ideally, it'd be great if the sort order and processing approach (serial/parallel) were two decoupled options.

      Happy to submit a PR with some guidance on how the preferred approach should be.

        Attachments

          Activity

          Hide
          muddyb0y Raphael Pigulla added a comment -

          I second this. It's a huge PITA to have a matrix job accidentally run its longest task last...

          Show
          muddyb0y Raphael Pigulla added a comment - I second this. It's a huge PITA to have a matrix job accidentally run its longest task last...

            People

            • Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              crackerjack Drew Horn
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: