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

Ability to filter matrix by passing parameter remotely.

    Details

    • Similar Issues:

      Description

      Now you can't pass parameter to matrix using Parametrized Remote Trigger Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Remote+Trigger+Plugin), even in case you will pass parameter with name that the same as you specify in Matrix Combinations Parameter, matrix will be totally deselected and no builds will be launched.

      E.g. if you specify MY_MATRIX_PARAMETER as name for Matrix Combinations Parameter and then try to reach remote url http://jenkins.yourdomain.com/buildByToken/buildWithParameters?job=your_jon&token=your_token&MY_MATRIX_PARAMETER=OS=="win7" your Matrix Combinations Parameter will not be set (all others parameters can be set as usually).

        Attachments

          Activity

          Show
          ikedam ikedam added a comment - https://github.com/jenkinsci/matrix-combinations-plugin/pull/19
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/test/java/hudson/plugins/matrix_configuration_parameter/MatrixCombinationsParameterDefinitionTest.java
          http://jenkins-ci.org/commit/matrix-combinations-plugin/a4f8594bfa65e90892f9e0cd32ecb405b2ff6544
          Log:
          JENKINS-37815 Add a test for buildWithParameters

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/test/java/hudson/plugins/matrix_configuration_parameter/MatrixCombinationsParameterDefinitionTest.java http://jenkins-ci.org/commit/matrix-combinations-plugin/a4f8594bfa65e90892f9e0cd32ecb405b2ff6544 Log: JENKINS-37815 Add a test for buildWithParameters
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/plugins/matrix_configuration_parameter/MatrixCombinationsParameterDefinition.java
          http://jenkins-ci.org/commit/matrix-combinations-plugin/c8cbfcd3b0c57e3ea9532538541cc61c2db01c62
          Log:
          [FIXED JENKINS-37815] Support buildWithParameters

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/matrix_configuration_parameter/MatrixCombinationsParameterDefinition.java http://jenkins-ci.org/commit/matrix-combinations-plugin/c8cbfcd3b0c57e3ea9532538541cc61c2db01c62 Log: [FIXED JENKINS-37815] Support buildWithParameters
          Hide
          ikedam ikedam added a comment -

          Released 1.1.0 including this feature.
          You can pass a combinations filter expression as the parameter.
          It will be available in the update center in a day.

          Show
          ikedam ikedam added a comment - Released 1.1.0 including this feature. You can pass a combinations filter expression as the parameter. It will be available in the update center in a day.

            People

            • Assignee:
              ikedam ikedam
              Reporter:
              f1ashhimself Max Beloborodko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: