jenkinsci / jenkinsci/nunit-plugin

Ensure plugin is compatible `junit-sql-storage-plugin`

Open
#95 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
44
Forks
57
Avg merge
4h 34m
Merged PRs (30d)
1

Description

### What feature do you want to see added?

Ensure the plugin is compatible with https://github.com/jenkinsci/junit-sql-storage-plugin when SQL storage is used.

I think the way action are created from the plugin doesn't consider storage.

Looking at the `junit` plugin plugin https://github.com/jenkinsci/junit-plugin/blob/65ffcef24a88aa1b16f1ed8610f718d0073d6aa5/src/main/java/hudson/tasks/junit/TestResultAction.java#L89 look if we using some method of `TestResultAction` only `FileJunitTestResultStorage` is considered

We need to dig how https://github.com/jenkinsci/junit-plugin/blob/65ffcef24a88aa1b16f1ed8610f718d0073d6aa5/src/main/java/hudson/tasks/junit/pipeline/JUnitResultsStep.java#L216 is implemented to ensure NUnit result converted to JUnit are also using SQL storage when configured

### Upstream changes

None. Only on NUnit

### Are you interested in contributing this feature?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the referenced junit-plugin TestResultAction.java and JUnitResultsStep.java implementations, then inspect how this NUnit plugin creates actions from converted JUnit results. Verify the behavior with junit-sql-storage-plugin configured: converted results should use SQL storage rather than only FileJunitTestResultStorage.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
ci-cd, testing
Issue type
Feature
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.