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

"projects tied to slave" shows unrelated maven module jobs

    XMLWordPrintable

Details

    Description

      In the slave status page, there is a list of jobs called "Projects tied to <slave name>". That list should only show jobs that are explicitely tied to this slave.

      For me it als shows lots of modules of maven style jobs that have nothing to do with that particular slave whatsoever. Only the module part of the job is shown here, not the top level maven job it belongs to.

      So far I have found no pattern which jobs are shown where. I suspected it to be the last used slave, but it is not.

      Attachments

        Issue Links

          Activity

            marc_guenther Marc Günther created issue -
            marc_guenther Marc Günther made changes -
            Field Original Value New Value
            Priority Major [ 3 ] Minor [ 4 ]
            sogabe sogabe made changes -
            Assignee sogabe [ sogabe ]
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2436
            [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only. (Revision 3a6de84f6746d54dd0f3048312db067c835ee727)

            Result = SUCCESS
            Seiji Sogabe : 3a6de84f6746d54dd0f3048312db067c835ee727
            Files :

            • changelog.html
            • core/src/main/java/hudson/model/Label.java
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2436 [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only. (Revision 3a6de84f6746d54dd0f3048312db067c835ee727) Result = SUCCESS Seiji Sogabe : 3a6de84f6746d54dd0f3048312db067c835ee727 Files : changelog.html core/src/main/java/hudson/model/Label.java
            sogabe sogabe made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]

            Code changed in jenkins
            User: Seiji Sogabe
            Path:
            changelog.html
            core/src/main/java/hudson/model/Label.java
            http://jenkins-ci.org/commit/jenkins/3a6de84f6746d54dd0f3048312db067c835ee727
            Log:
            [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: changelog.html core/src/main/java/hudson/model/Label.java http://jenkins-ci.org/commit/jenkins/3a6de84f6746d54dd0f3048312db067c835ee727 Log: [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only.
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-15666 [ JENKINS-15666 ]
            jglick Jesse Glick added a comment -

            This breaks JENKINS-15666; it was intentional to show items in folders.

            jglick Jesse Glick added a comment - This breaks JENKINS-15666 ; it was intentional to show items in folders.
            jglick Jesse Glick made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/java/hudson/model/Label.java
            http://jenkins-ci.org/commit/jenkins/73bf0e5b4f1c038101e284ee8adfb56b0760addc
            Log:
            Revert "[FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only."

            This reverts commit 3a6de84f6746d54dd0f3048312db067c835ee727.
            (Regressed JENKINS-15666.)
            Conflicts:

            changelog.html

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/model/Label.java http://jenkins-ci.org/commit/jenkins/73bf0e5b4f1c038101e284ee8adfb56b0760addc Log: Revert " [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only." This reverts commit 3a6de84f6746d54dd0f3048312db067c835ee727. (Regressed JENKINS-15666 .) Conflicts: changelog.html
            marc_guenther Marc Günther added a comment -

            Isn't the problem that getAssignedLabel() of a MavenModule returns the last slave that the parent was build on (contrary to my observation above, which must have been mistaken)?

            marc_guenther Marc Günther added a comment - Isn't the problem that getAssignedLabel() of a MavenModule returns the last slave that the parent was build on (contrary to my observation above, which must have been mistaken)?
            jglick Jesse Glick added a comment -

            Well probably we just do not want to display a MavenModule here under any conditions, since (AFAIK) it is not possible to tie an individual module to a label, only to a module set.

            jglick Jesse Glick added a comment - Well probably we just do not want to display a MavenModule here under any conditions, since (AFAIK) it is not possible to tie an individual module to a label, only to a module set.
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2445
            Revert "[FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only." (Revision 73bf0e5b4f1c038101e284ee8adfb56b0760addc)

            Result = SUCCESS
            Jesse Glick : 73bf0e5b4f1c038101e284ee8adfb56b0760addc
            Files :

            • changelog.html
            • core/src/main/java/hudson/model/Label.java
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2445 Revert " [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only." (Revision 73bf0e5b4f1c038101e284ee8adfb56b0760addc) Result = SUCCESS Jesse Glick : 73bf0e5b4f1c038101e284ee8adfb56b0760addc Files : changelog.html core/src/main/java/hudson/model/Label.java

            Code changed in jenkins
            User: Vincent Latombe
            Path:
            core/src/main/java/hudson/model/Label.java
            http://jenkins-ci.org/commit/jenkins/9cb0d11f5adde14d07527838132af9774074c846
            Log:
            [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven
            module jobs. shows TopLevelItem only.

            Restricts displayed projects to TopLevelItem only.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: core/src/main/java/hudson/model/Label.java http://jenkins-ci.org/commit/jenkins/9cb0d11f5adde14d07527838132af9774074c846 Log: [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only. Restricts displayed projects to TopLevelItem only.
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Resolved [ 5 ]

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/java/hudson/model/Label.java
            http://jenkins-ci.org/commit/jenkins/b64d3dbfb76e7498e58dcedc4e6434ab7288a3f3
            Log:
            Merge pull request #802 from Vlatombe/JENKINS-17451

            [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven

            Compare: https://github.com/jenkinsci/jenkins/compare/cc2a91bdbdb2...b64d3dbfb76e

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/model/Label.java http://jenkins-ci.org/commit/jenkins/b64d3dbfb76e7498e58dcedc4e6434ab7288a3f3 Log: Merge pull request #802 from Vlatombe/ JENKINS-17451 [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven Compare: https://github.com/jenkinsci/jenkins/compare/cc2a91bdbdb2...b64d3dbfb76e

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            http://jenkins-ci.org/commit/jenkins/609c4f8df07e8df6531bafaa0e07b6a69dd68420
            Log:
            JENKINS-17451 Noting.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html http://jenkins-ci.org/commit/jenkins/609c4f8df07e8df6531bafaa0e07b6a69dd68420 Log: JENKINS-17451 Noting.
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2594
            [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven (Revision 9cb0d11f5adde14d07527838132af9774074c846)
            JENKINS-17451 Noting. (Revision 609c4f8df07e8df6531bafaa0e07b6a69dd68420)

            Result = SUCCESS
            Vincent Latombe : 9cb0d11f5adde14d07527838132af9774074c846
            Files :

            • core/src/main/java/hudson/model/Label.java

            Jesse Glick : 609c4f8df07e8df6531bafaa0e07b6a69dd68420
            Files :

            • changelog.html
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2594 [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven (Revision 9cb0d11f5adde14d07527838132af9774074c846) JENKINS-17451 Noting. (Revision 609c4f8df07e8df6531bafaa0e07b6a69dd68420) Result = SUCCESS Vincent Latombe : 9cb0d11f5adde14d07527838132af9774074c846 Files : core/src/main/java/hudson/model/Label.java Jesse Glick : 609c4f8df07e8df6531bafaa0e07b6a69dd68420 Files : changelog.html
            jglick Jesse Glick made changes -
            Labels lts-candidate performance

            Code changed in jenkins
            User: Vincent Latombe
            Path:
            core/src/main/java/hudson/model/Label.java
            http://jenkins-ci.org/commit/jenkins/a01c6c5d4c7b54106f31c7746849979b0776e206
            Log:
            [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven
            module jobs. shows TopLevelItem only.

            Restricts displayed projects to TopLevelItem only.
            (cherry picked from commit 9cb0d11f5adde14d07527838132af9774074c846)

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: core/src/main/java/hudson/model/Label.java http://jenkins-ci.org/commit/jenkins/a01c6c5d4c7b54106f31c7746849979b0776e206 Log: [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only. Restricts displayed projects to TopLevelItem only. (cherry picked from commit 9cb0d11f5adde14d07527838132af9774074c846)
            jglick Jesse Glick made changes -
            Labels lts-candidate performance 1.509.4-fixed performance
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 148626 ] JNJira + In-Review [ 192805 ]

            People

              sogabe sogabe
              marc_guenther Marc Günther
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: