jenkinsci / jenkinsci/junit-plugin

[JENKINS-31926] Jenkins doesn't display graph for test suites, before all tests successfully pass

Open
#1,012 3 comments 0 reactions 0 assignees View on GitHub
component:junit-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
87
Forks
351
Avg merge
1d 19h
Merged PRs (30d)
2

Description

When creating a new test suite, and the tests suite has always failed to pass, jenkins doesn't show a graph for the tests.

Only when all the tests in the suite passed for the first time, a graph is displayed.

The correct behavior, if I have 100 tests and 1 fails to pass, to display a graph with 99 "green" tests and one "red" test

---
Originally reported by speller, imported from: Jenkins doesn't display graph for test suites, before all tests successfully pass


  • status: Open
  • priority: Major
  • component(s): junit-plugin
  • resolution: Unresolved
  • votes: 8
  • watchers: 7
  • imported: 2025-11-26

Raw content of original issue

When creating a new test suite, and the tests suite has always failed to pass, jenkins doesn't show a graph for the tests.
Only when all the tests in the suite passed for the first time, a graph is displayed.
The correct behavior, if I have 100 tests and 1 fails to pass, to display a graph with 99 "green" tests and one "red" test

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a new test suite containing 100 tests where one fails, then trace how the junit-plugin handles test results before any fully passing run. Done means Jenkins displays the suite graph with passing and failing tests even when no prior run passed completely.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.