Skip to content

[JENKINS-20439] Scoring-load-balancer - Scoring Rule for nodes which have workspace checked out #189

@jenkins-infra-bot

Description

@jenkins-infra-bot

Hi,

I have just started using scoring-load-balancer and I really like it!

I want to use it to setup a group of preferred nodes for a job to run. I can also use the 'Scoring by Build Results' to give added preference for the node which was last used for the build.

The problem is I have some monitoring jobs setup to clear out a slaves workspace directory when the slaves free disk space goes below a certain thresehold. This means that the last node the build ran on may no longer have the workspace checked out from svn, but one of the other preferred nodes might have the workspace checked out from an older build.

It would be useful to have a scoring rule that would score based on if the slave has a workspace directory for the job.

This would mean the job would just need to do an svn update and not a full svn checkout.


Originally reported by gcummings, imported from: Scoring-load-balancer - Scoring Rule for nodes which have workspace checked out
  • status: Open
  • priority: Major
  • component(s): scoring-load-balancer-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 5
  • imported: 20251216-225446
Raw content of original issue

Hi,

I have just started using scoring-load-balancer and I really like it!

I want to use it to setup a group of preferred nodes for a job to run. I can also use the 'Scoring by Build Results' to give added preference for the node which was last used for the build.

The problem is I have some monitoring jobs setup to clear out a slaves workspace directory when the slaves free disk space goes below a certain thresehold. This means that the last node the build ran on may no longer have the workspace checked out from svn, but one of the other preferred nodes might have the workspace checked out from an older build.

It would be useful to have a scoring rule that would score based on if the slave has a workspace directory for the job.

This would mean the job would just need to do an svn update and not a full svn checkout.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions