• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • matrix-project-plugin
    • None

      Analogue to the "Multibranch Pipelines" it would be great to get matrix-project supported pipelines.
      i.e.
      https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Project+Plugin => https://plugins.jenkins.io/matrix-project should get a compagnion/successor workflow-matrix aside multibranch https://plugins.jenkins.io/workflow-multibranch

      Use cases:

      • different target environment with different plattform support builds
      • coded pipeline support for matrix based job definitions
        • actually it is only possible to use the old but pipeline incompatible JenkinsDSL (yes, there is a DSL for starting pipelines, but that's not the point)

          [JENKINS-42808] matrix-project support for pipeline jobs

          Marcel 'childNo͡.de' Trautwein added a comment - perhaps https://plugins.jenkins.io/matrix-groovy-execution-strategy is a base / useful start?!

          Is matrix building really that rare that this isn't implemented yet?

          What I'm really after is being able to define a step in a Blue Ocean pipeline that executes for a number of axes (O/S, arch, etc.).  Is this the only real blocking issue to that?

          Brian J Murrell added a comment - Is matrix building really that rare that this isn't implemented yet? What I'm really after is being able to define a step in a Blue Ocean pipeline that executes for a number of axes (O/S, arch, etc.).  Is this the only real blocking issue to that?

          Kasia Gauza added a comment -

          It is really strange. Now I really don't know how to implement an axis shown below with a few configuration/platforms, each one with several separated stages (build, unit/integration tests, code metrics):

          Not to have a single stage mess like this:

          Any clues how to achieve this painlessly?

          Kasia Gauza added a comment - It is really strange. Now I really don't know how to implement an axis shown below with a few configuration/platforms, each one with several separated stages (build, unit/integration tests, code metrics): Not to have a single stage mess like this: Any clues how to achieve this painlessly?

          This would be extremely useful to have. We have many different combinations of target architectures + build variations and the matrix plugin works quite well for this usecase.

           

          It would be great if we could have a matrix job that runs a single jenkinsfile with different parameters but without different git branches for each variant.

           

          A single parallel block is not a reasonable alternative to the matrix plugin. If I go on console output I get all the parallel output interleaved. While the blue ocean UI filters it by parallel stage having to expand each individual node is also quite annoying.

          Alex Richardson added a comment - This would be extremely useful to have. We have many different combinations of target architectures + build variations and the matrix plugin works quite well for this usecase.   It would be great if we could have a matrix job that runs a single jenkinsfile with different parameters but without different git branches for each variant.   A single parallel block is not a reasonable alternative to the matrix plugin. If I go on console output I get all the parallel output interleaved. While the blue ocean UI filters it by parallel stage having to expand each individual node is also quite annoying.

          sv savage added a comment -

          I have a matrix of test data and configuration parameters that I would like to use a pipeline to test. .

          I can run a shell, but how to I get it to run a pipleline?

          sv savage added a comment - I have a matrix of test data and configuration parameters that I would like to use a pipeline to test. . I can run a shell, but how to I get it to run a pipleline?

            kohsuke Kohsuke Kawaguchi
            childnode Marcel 'childNo͡.de' Trautwein
            Votes:
            19 Vote for this issue
            Watchers:
            27 Start watching this issue

              Created:
              Updated: