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

Add support for slicing matrix job configuration

        [JENKINS-14785] Add support for slicing matrix job configuration

        Can you provide some more details on this? I really don't know what you're asking for, and I don't want to take a guess and hope I'm right. What is your use case?

        Jacob Robertson added a comment - Can you provide some more details on this? I really don't know what you're asking for, and I don't want to take a guess and hope I'm right. What is your use case?

        If you want to re-open this, please do, and provide some more detail on the feature you're requesting.

        Jacob Robertson added a comment - If you want to re-open this, please do, and provide some more detail on the feature you're requesting.

        Guy Rozendorn added a comment -

        What I meant it to slice the "Configuration Matrix" for matrix jobs

        Guy Rozendorn added a comment - What I meant it to slice the "Configuration Matrix" for matrix jobs

        i think below example could be useful to understand slicing "matrix(multi-configuration) jobs"
        change label|slave name for matrix(multi-configuration) job- not changed if using "Evaluate Tied Label Slicer " because matrix job not having option “Restrict where this project can be run” to tie label. Here label/slaves tied at axis.
        is this useful!!!

        hiteswar kumar added a comment - i think below example could be useful to understand slicing "matrix(multi-configuration) jobs" change label|slave name for matrix(multi-configuration) job- not changed if using "Evaluate Tied Label Slicer " because matrix job not having option “Restrict where this project can be run” to tie label. Here label/slaves tied at axis. is this useful!!!

        Juri Timošin added a comment -

        Matrix jobs cannot be configured by current "Tied Label Slicer". Matrix job does not have "Restrict where this project can be run" which is set by this slicer. Instead they use label or label_exp (label expression) as one of the axes.

        Hopefully the simplest way to implement this is to use label_exp field and copy the value there exactly the way it was set in "Tied Label Slicer".
        That is in "Tied Label Slicer":

        Tied Label Slicer
        Configured Value Item Names
        windows && 64bit
        linux
        my-special-label
        my-job-name

        New Label expression axis in my-job-name should be created (if does not exist). Value in Configured Value box should be copied to Label Expressions text box as is (with all the newlines). Slaves axis should be removed. Which results in that this matrix job will be run in 3 different environments that correspond to provided label expressions.

        I hope that clears the requirements a little bit.

        Juri Timošin added a comment - Matrix jobs cannot be configured by current "Tied Label Slicer". Matrix job does not have "Restrict where this project can be run" which is set by this slicer. Instead they use label or label_exp (label expression) as one of the axes. Hopefully the simplest way to implement this is to use label_exp field and copy the value there exactly the way it was set in "Tied Label Slicer". That is in "Tied Label Slicer": Tied Label Slicer Configured Value Item Names windows && 64bit linux my-special-label my-job-name New Label expression axis in my-job-name should be created (if does not exist). Value in Configured Value box should be copied to Label Expressions text box as is (with all the newlines). Slaves axis should be removed. Which results in that this matrix job will be run in 3 different environments that correspond to provided label expressions. I hope that clears the requirements a little bit.

          mdonohue mdonohue
          guyr Guy Rozendorn
          Votes:
          1 Vote for this issue
          Watchers:
          3 Start watching this issue

            Created:
            Updated: