-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
jenkins 2.387.1
warnings-ng 10.0.2
we are using warnings-ng plugin on jenkins to visualize the result of IntelliJ-Idea-Inspections. Our observation:
- jobs, which reported inspection-results with an older version of the plugin, still allow sorting for module/package/file/categories/issues.
- jobs, which report inspection-results with version 10.0.2 of the plugin, don't allow sorting for module anymore - only for package/file/categories/issues.
- the provided information (input for the plugin as xml-file) is identical.
Problem imho is in the file idea-outstanding-issues.xml,
old (with ability to sort for modules):
<analysisReport plugin="analysis-model-api@10.21.0"> ... <subReports> <analysisReport> ... <elements class="linked-hash-set"> <issue> ... {color:#de350b} <moduleName>base-ls</moduleName>{color}
new (without ability for sort for modules):
<analysisReport plugin="analysis-model-api@11.0.0"> ... <subReports> <analysisReport> ... <elements class="linked-hash-set"> <issue> ... {color:#de350b} <moduleName>-</moduleName>{color}
the module probably gets parsed from the provided xml-files for each entry:
<problems> <problem> ... <module>KIXCustomer.base-ls.main</module> ... </problem>
assumptions:
- as the module information is '-' for all entries, sorting for modules is not a valid option, therefore there is no button.
- problem is in parsing module-information from input file.
we would be glad, if sorting for modules is possible again.
- links to
[JENKINS-70801] Module information not available anymore
Component/s | New: analysis-model [ 23523 ] | |
Summary | Original: since 10.0.2 module information gets lost from provided warnings (xml). | New: Module information not available anymore |
Description |
Original:
hello,
we are using warnings-ng plugin on jenkins to visualize the result of IntelliJ-Idea-Inspections. Our observation: * jobs, which reported inspection-results with an older version of the plugin, still allow sorting for module/package/file/categories/issues. * jobs, which report inspection-results with version 10.0.2 of the plugin, don't allow sorting for module anymore - only for package/file/categories/issues. * the provided information (input for the plugin as xml-file) is identical. Problem imho is in the file idea-outstanding-issues.xml, *old* (with ability to sort for modules): <analysisReport plugin="analysis-model-api@10.21.0"> ... <subReports> <analysisReport> ... <elements class="linked-hash-set"> <issue> ... {color:#de350b} <moduleName>base-ls</moduleName>{color} *new* (without ability for sort for modules): <analysisReport plugin="analysis-model-api@11.0.0"> ... <subReports> <analysisReport> ... <elements class="linked-hash-set"> <issue> ... {color:#de350b} <moduleName>-</moduleName>{color} the module probably gets parsed from the provided xml-files for each entry: <problems> <problem> ... <module>KIXCustomer.base-ls.main</module> ... </problem> assumptions: * as the module information is '-' for all entries, sorting for modules is not a valid option, therefore there is no button. * problem is in parsing module-information from input file. we would be glad, if sorting for modules is possible again. tia & best regards, oliver |
New:
we are using warnings-ng plugin on jenkins to visualize the result of IntelliJ-Idea-Inspections. Our observation:
* jobs, which reported inspection-results with an older version of the plugin, still allow sorting for module/package/file/categories/issues. * jobs, which report inspection-results with version 10.0.2 of the plugin, don't allow sorting for module anymore - only for package/file/categories/issues. * the provided information (input for the plugin as xml-file) is identical. Problem imho is in the file idea-outstanding-issues.xml, *old* (with ability to sort for modules): {code} <analysisReport plugin="analysis-model-api@10.21.0"> ... <subReports> <analysisReport> ... <elements class="linked-hash-set"> <issue> ... {color:#de350b} <moduleName>base-ls</moduleName>{color} {code} *new* (without ability for sort for modules): {code} <analysisReport plugin="analysis-model-api@11.0.0"> ... <subReports> <analysisReport> ... <elements class="linked-hash-set"> <issue> ... {color:#de350b} <moduleName>-</moduleName>{color} {code} the module probably gets parsed from the provided xml-files for each entry: {code} <problems> <problem> ... <module>KIXCustomer.base-ls.main</module> ... </problem> {code} assumptions: * as the module information is '-' for all entries, sorting for modules is not a valid option, therefore there is no button. * problem is in parsing module-information from input file. we would be glad, if sorting for modules is possible again. |
Component/s | Original: warnings-ng-plugin [ 24526 ] |
Attachment | New: settings.gradle.kts [ 60158 ] |
Released As | New: https://github.com/jenkinsci/analysis-model/releases/tag/v11.1.0 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Resolved [ 5 ] |
Assignee | Original: Ulli Hafner [ drulli ] | New: oliva imlinga [ oi ] |
Remote Link | New: This issue links to "PR #911 (Web Link)" [ 28555 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |