-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
-
8.0.0
I'm using jenkins-war:2.204.1 with installed and activated warnings-ng plugin 7.3.0
I configured few tools (Checkstyle and PMD) to analyse the code and return warnings.
I request warnings(issues) via REST from wangings-ng plugin via
GET http://%host%:%port%/job/%jobname%/%bldnum%/checkstyle/all/api/json
It returns me all found warnings in my source code, but each warning contains absolute fileName.
Question - why?
As I found, old warnings plugin reported relative paths, what is exactly what I need.
Currently, I use EnvInject plugin, in order to request "WORKSPACE" Jenkins war from Jenkins build and I calculate relative paths myself.
I need to know, if current behavior is expected and stable. So I can assume, that fileName in warnings will be always absolute.
- is blocked by
-
JENKINS-57556 Path should be stored relative to workspace
-
- Resolved
-
[JENKINS-60973] Use relative paths in remote API
Link |
New:
This issue is blocked by |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Issue Type | Original: Task [ 3 ] | New: Improvement [ 4 ] |
Summary | Original: Warnings-ng returns Issues with absolute path | New: Use relative paths in remote API |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Fixed but Unreleased [ 10203 ] |
Released As | New: 8.0.0 | |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Resolved [ 5 ] |