jenkinsci / jenkinsci/junit-plugin

[JENKINS-26276] Expose JUnit test results to workflow scripts

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

Description

Although it is possible to invoke the JUnitResultArchiver reporter from within a workflow script, it is not possible to get the results of the tests in order to branch within the script for example.

We need a archiveTestResults step that attaches the results to the build but also returns a summary of the results.

(Pull request forthcoming)

---
Originally reported by akbertram, imported from: Expose JUnit test results to workflow scripts


  • assignee: akbertram
  • status: In Progress
  • priority: Minor
  • component(s): junit-plugin
  • label(s): pipeline
  • resolution: Unresolved
  • votes: 15
  • watchers: 22
  • imported: 2025-11-26

Raw content of original issue

Although it is possible to invoke the JUnitResultArchiver reporter from within a workflow script, it is not possible to get the results of the tests in order to branch within the script for example.

We need a archiveTestResults step that attaches the results to the build but also returns a summary of the results.

(Pull request forthcoming)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.