-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: analysis-model
The documentation of the native format specifies an example here: https://github.com/jenkinsci/warnings-ng-plugin/blob/master/plugin/src/test/resources/io/jenkins/plugins/analysis/warnings/steps/issues.json
When you actually feed the example into Jenkins, all entries below "lineRanges" are ignored and not used.
... "fileName": "test-file.txt",      "lineRanges": [        {          "start": 110,          "end": 111        },        { "start": 120,          "end": 121        }      ], ...

"lineStart" and "lineEnd" are accepted.
... "fileName": "test.xml", "severity": "ERROR", "lineStart": 110, "lineEnd": 111, "columnStart": 210, "columnEnd": 220, "message": "some message", "description": "some description" ...

Â
- links to