jenkinsci / jenkinsci/cloudbees-folder-plugin

[JENKINS-34502] Folders should have health metrics based on a single job

Open
#607 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component:cloudbees-folder-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
59
Forks
117
PR merge metrics
No merged PRs in 30d

Description

Folders plugin is a great way to organize per project jobs.
But in case of a feature branch builds its healt metrics is useless, currently it shows the worst child metric, which in case of feature builds will very often be bad, and doesn't bring any information to the user.

I propose to have another metric: copy the health from a single job inside the folder.

This way i could make the folder health metric be based on master branch build, and ignore the feature branches.


Originally reported by krzyk, imported from: Folders should have health metrics based on a single job
  • status: Reopened
  • priority: Major
  • component(s): cloudbees-folder-plugin
  • resolution: Unresolved
  • votes: 21
  • watchers: 27
  • imported: 20251211-141027
Raw content of original issue

Folders plugin is a great way to organize per project jobs. But in case of a feature branch builds its healt metrics is useless, currently it shows the worst child metric, which in case of feature builds will very often be bad, and doesn't bring any information to the user.

I propose to have another metric: copy the health from a single job inside the folder.

This way i could make the folder health metric be based on master branch build, and ignore the feature branches.

4 attachments

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the folders plugin's current child health-metric implementation and its existing tests. Define how a single job is selected, then add coverage showing that the folder health follows that job while ignoring other child jobs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ci-cd, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.