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

Add support for selecting configuration of triggered job

      Say I have two multi-configuration jobs named build and test. Both jobs are multi-configuration and use the slave matrix linux and windows based on labels with the name "Platform". I would like to be able to trigger only the "linux" test config from the "linux" build job and the same for windows. Currently both the "linux" and "windows" test job configs are triggered for each config in build job (resulting in two useless runs that must be skipped manually through parameters). If my config name was "Platform" in both jobs, it would be acceptable to trigger one config of the test job from the build job via the parametrized trigger plug-in using via setting the Projects to build to be "test/Platform=$Platform".

          [JENKINS-11490] Add support for selecting configuration of triggered job

          cjo9900 added a comment -

          Is this the same as matrix subset?
          Added in the 2.14 version?

          Added a new parameter definition in the trigger that lets the upstream controls which subset of the downstream matrix job to build.

          https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin

          if so this can be closed as it is implemented.

          cjo9900 added a comment - Is this the same as matrix subset? Added in the 2.14 version? Added a new parameter definition in the trigger that lets the upstream controls which subset of the downstream matrix job to build. https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin if so this can be closed as it is implemented.

          ikedam added a comment -

          This sounds resolved with matrix subset as @cjo9900 points.
          (and no response for that question for so long time)

          Please reopen this issue and report if there are cases matrix subset cannot handle.

          ikedam added a comment - This sounds resolved with matrix subset as @cjo9900 points. (and no response for that question for so long time) Please reopen this issue and report if there are cases matrix subset cannot handle.

            huybrechts huybrechts
            vultron81 Ben Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: