Skip to content

[JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs #14462

Closed

Description

@jenkins-infra-bot

In the slave status page, there is a list of jobs called "Projects tied to ". 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.


Originally reported by marc_guenther, imported from: "projects tied to slave" shows unrelated maven module jobs
  • assignee: sogabe
  • status: Resolved
  • priority: Minor
  • component(s): core
  • label(s): 1.509.4-fixed, performance
  • resolution: Fixed
  • resolved: 2013-06-11T12:58:38+00:00
  • votes: 0
  • watchers: 5
  • imported: 2025-11-24
Raw content of original issue

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.

Activity

  1. jenkins-infra-bot commented on Apr 6, 2013

    @jenkins-infra-bot
    Author
    dogfood:
    • Original comment link
    • Raw content of original 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

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

    Result = SUCCESS
    Seiji Sogabe : 3a6de84f6746d54dd0f3048312db067c835ee727
    Files :

    • changelog.html
    • core/src/main/java/hudson/model/Label.java
  2. jenkins-infra-bot commented on Apr 6, 2013

    @jenkins-infra-bot
    Author
    scm_issue_link:

    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.

  3. jenkins-infra-bot commented on Apr 8, 2013

    @jenkins-infra-bot
    Author
    jglick:
    • Original comment link
    • Raw content of original comment:

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

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

  4. jenkins-infra-bot commented on Apr 8, 2013

    @jenkins-infra-bot
    Author
    scm_issue_link:

    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 3a6de84.
    (Regressed JENKINS-15666.)
    Conflicts:

    changelog.html

  5. jenkins-infra-bot commented on Apr 8, 2013

    @jenkins-infra-bot
    Author
    marc_guenther:
    • Original comment link
    • Raw content of original 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)?

    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)?

  6. jenkins-infra-bot commented on Apr 8, 2013

    @jenkins-infra-bot
    Author
    jglick:
    • Original comment link
    • Raw content of original 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.

    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.

  7. jenkins-infra-bot commented on Apr 8, 2013

    @jenkins-infra-bot
    Author
    dogfood:
    • Original comment link
    • Raw content of original 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

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

    Result = SUCCESS
    Jesse Glick : 73bf0e5b4f1c038101e284ee8adfb56b0760addc
    Files :

    • changelog.html
    • core/src/main/java/hudson/model/Label.java
  8. jenkins-infra-bot commented on Jun 11, 2013

    @jenkins-infra-bot
    Author
    scm_issue_link:

    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.

  9. jenkins-infra-bot commented on Jun 11, 2013

    @jenkins-infra-bot
    Author
    scm_issue_link:

    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: cc2a91b...b64d3db

  10. jenkins-infra-bot commented on Jun 11, 2013

    @jenkins-infra-bot
    Author
    scm_issue_link:

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

  11. jenkins-infra-bot commented on Jun 11, 2013

    @jenkins-infra-bot
    Author
    dogfood:

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

    Result = SUCCESS
    Vincent Latombe : 9cb0d11f5adde14d07527838132af9774074c846
    Files :

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

    Jesse Glick : 609c4f8df07e8df6531bafaa0e07b6a69dd68420
    Files :

    • changelog.html
  12. jenkins-infra-bot commented on Sep 16, 2013

    @jenkins-infra-bot
    Author
    scm_issue_link:
    • Original comment link
    • Raw content of original 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)

    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 9cb0d11)

  13. jenkins-infra-bot commented on Nov 24, 2025

    @jenkins-infra-bot
    Author

    [Original relates_to from Jira: JENKINS-15666]

  14. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions