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

Can only sort execution order when running sequentially

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • matrix-project-plugin
    • None
    • Jenkins 2.66, Matrix Project Plugin 1.11

      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.

          [JENKINS-45050] Can only sort execution order when running sequentially

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

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

          Michael added a comment -

          +1

          Michael added a comment - +1

            kohsuke Kohsuke Kawaguchi
            crackerjack Drew Horn
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: