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

In multi-configuration projects where specific slaves have been selected, the top build is still performed on any slave

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If a multi-configuration project is configured, and it is set to run on certain slaves, the top build (the build checking out files and triggering the different configuration builds) is still run on any slave.

      For example, I have a label for the WINDOWS2008-servers in our environment. I have specified two different axis in a multi-configuration project, one for Configuration (two text values, Debug and Release) and one for Platforms (which is connected to the Slaves section with only the label WINDOWS2008 selected).

      When I trigger the build, the top build is executed on SRVLINUX01, one of our Linux build servers.

      Is this by design? Did I miss something? Hope the label component "matrix" makes sense, didn't find one for multi-configuration projects..

        Attachments

          Issue Links

            Activity

            Hide
            alex01ves Alex Vesely added a comment -

            To tie the head build to a specific node, you can use the "Matrix Tie Parent plugin" (https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Tie+Parent+Plugin).

            Although I would agree that this behavior, as well as the need for the head build to checkout the full repository, is somewhat annoying.

            Show
            alex01ves Alex Vesely added a comment - To tie the head build to a specific node, you can use the "Matrix Tie Parent plugin" ( https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Tie+Parent+Plugin ). Although I would agree that this behavior, as well as the need for the head build to checkout the full repository, is somewhat annoying.
            Hide
            jeinor Jonas Oscarsson added a comment -

            Thanks for the tip, that will solve our problems!

            However, as you're saying, it seems strange I would need an plugin for this functionality, so I'll leave it open and see if we perhaps can get a developer to comment on it.

            Show
            jeinor Jonas Oscarsson added a comment - Thanks for the tip, that will solve our problems! However, as you're saying, it seems strange I would need an plugin for this functionality, so I'll leave it open and see if we perhaps can get a developer to comment on it.
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            I just fixed JENKINS-7825

            Show
            kohsuke Kohsuke Kawaguchi added a comment - I just fixed JENKINS-7825

              People

              Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              jeinor Jonas Oscarsson
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: