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

Cannot restrict a matrix build job to one node/label

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: matrix-project-plugin
    • Labels:
      None
    • Environment:
      hudson 1.380 win server 2003
    • Similar Issues:

      Description

      I setup a matrix job with setup to build with many jdk's and only one node axis - the master node. We have two nodes, the master and a build node for special builds (documentation). But when i start the matrix build, it starts the build on the special build node - not on master.

      The "special" build node on that the build is starts, is a node that i have restricted to "reserve for exclusive jobs". In my opinion it should no use such type of nodes.

      Any hints?

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            changelog.html
            core/src/main/java/hudson/model/Queue.java
            core/src/main/java/jenkins/model/Jenkins.java
            core/src/main/resources/hudson/matrix/MatrixProject/configure-entries.jelly
            core/src/main/resources/hudson/matrix/MatrixProject/help-slaveAffinity.html
            core/src/main/resources/hudson/model/AbstractItem/configure-common.jelly
            core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity.html
            core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_de.html
            core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_fr.html
            core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_ja.html
            core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_pt_BR.html
            core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_ru.html
            core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_tr.html
            core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_zh_TW.html
            core/src/main/resources/lib/hudson/project/config-assignedLabel.jelly
            core/src/main/resources/lib/hudson/project/config-assignedLabel.properties
            core/src/main/resources/lib/hudson/project/config-assignedLabel_bg.properties
            core/src/main/resources/lib/hudson/project/config-assignedLabel_da.properties
            core/src/main/resources/lib/hudson/project/config-assignedLabel_de.properties
            core/src/main/resources/lib/hudson/project/config-assignedLabel_es.properties
            core/src/main/resources/lib/hudson/project/config-assignedLabel_ja.properties
            core/src/main/resources/lib/hudson/project/config-assignedLabel_pt_BR.properties
            core/src/main/resources/lib/hudson/project/config-assignedLabel_ru.properties
            core/src/main/resources/lib/hudson/project/config-assignedLabel_tr.properties
            core/src/main/resources/lib/hudson/project/config-assignedLabel_zh_TW.properties
            war/src/main/webapp/help/project-config/slave.html
            war/src/main/webapp/help/project-config/slave_de.html
            war/src/main/webapp/help/project-config/slave_fr.html
            war/src/main/webapp/help/project-config/slave_ja.html
            war/src/main/webapp/help/project-config/slave_pt_BR.html
            war/src/main/webapp/help/project-config/slave_ru.html
            war/src/main/webapp/help/project-config/slave_tr.html
            war/src/main/webapp/help/project-config/slave_zh_TW.html
            http://jenkins-ci.org/commit/jenkins/d35f0d55d3343a499900cc5bc45d004726a224b7
            Log:
            [FIXED JENKINS-7825]

            Exposed the UI that sets the assigned label of matrix projects.
            This deprecates the "Matrix tie parent" plugin.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/Queue.java core/src/main/java/jenkins/model/Jenkins.java core/src/main/resources/hudson/matrix/MatrixProject/configure-entries.jelly core/src/main/resources/hudson/matrix/MatrixProject/help-slaveAffinity.html core/src/main/resources/hudson/model/AbstractItem/configure-common.jelly core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity.html core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_de.html core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_fr.html core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_ja.html core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_pt_BR.html core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_ru.html core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_tr.html core/src/main/resources/hudson/model/AbstractItem/help-slaveAffinity_zh_TW.html core/src/main/resources/lib/hudson/project/config-assignedLabel.jelly core/src/main/resources/lib/hudson/project/config-assignedLabel.properties core/src/main/resources/lib/hudson/project/config-assignedLabel_bg.properties core/src/main/resources/lib/hudson/project/config-assignedLabel_da.properties core/src/main/resources/lib/hudson/project/config-assignedLabel_de.properties core/src/main/resources/lib/hudson/project/config-assignedLabel_es.properties core/src/main/resources/lib/hudson/project/config-assignedLabel_ja.properties core/src/main/resources/lib/hudson/project/config-assignedLabel_pt_BR.properties core/src/main/resources/lib/hudson/project/config-assignedLabel_ru.properties core/src/main/resources/lib/hudson/project/config-assignedLabel_tr.properties core/src/main/resources/lib/hudson/project/config-assignedLabel_zh_TW.properties war/src/main/webapp/help/project-config/slave.html war/src/main/webapp/help/project-config/slave_de.html war/src/main/webapp/help/project-config/slave_fr.html war/src/main/webapp/help/project-config/slave_ja.html war/src/main/webapp/help/project-config/slave_pt_BR.html war/src/main/webapp/help/project-config/slave_ru.html war/src/main/webapp/help/project-config/slave_tr.html war/src/main/webapp/help/project-config/slave_zh_TW.html http://jenkins-ci.org/commit/jenkins/d35f0d55d3343a499900cc5bc45d004726a224b7 Log: [FIXED JENKINS-7825] Exposed the UI that sets the assigned label of matrix projects. This deprecates the "Matrix tie parent" plugin.
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2642

            Result = UNSTABLE

            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2642 Result = UNSTABLE
            Hide
            giladj Gilad Judes added a comment -

            Still happens

            Jenkins ver. 1.562
            Matrix Project Plugin 1.2

            Got the Matrix Job set this under Advanced: "Restrict where this project can be run" to "master"

            But when I run the Matrix only the first job runs on the Master - the rest run on any of the Slaves available

            Show
            giladj Gilad Judes added a comment - Still happens Jenkins ver. 1.562 Matrix Project Plugin 1.2 Got the Matrix Job set this under Advanced: "Restrict where this project can be run" to "master" But when I run the Matrix only the first job runs on the Master - the rest run on any of the Slaves available
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            It should be a new issue...

            Show
            oleg_nenashev Oleg Nenashev added a comment - It should be a new issue...
            Hide
            giladj Gilad Judes added a comment -

            created a new issue as requested:
            https://issues.jenkins-ci.org/browse/JENKINS-23459

            Show
            giladj Gilad Judes added a comment - created a new issue as requested: https://issues.jenkins-ci.org/browse/JENKINS-23459

              People

              • Assignee:
                Unassigned
                Reporter:
                azgard azgard
              • Votes:
                5 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: