jenkinsci / nunit-plugin

Jenkins nunit plugin
https://plugins.jenkins.io/nunit/
MIT License
42 stars 55 forks source link

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

Open jonesbusy opened 8 months ago

jonesbusy commented 8 months ago

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