• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • warnings-ng-plugin
    • 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.

          [JENKINS-60973] Use relative paths in remote API

          StNekroman Nyaa created issue -
          Ulli Hafner made changes -
          Link New: This issue is blocked by JENKINS-57556 [ JENKINS-57556 ]
          Ulli Hafner made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Ulli Hafner made changes -
          Issue Type Original: Task [ 3 ] New: Improvement [ 4 ]
          Ulli Hafner made changes -
          Summary Original: Warnings-ng returns Issues with absolute path New: Use relative paths in remote API
          Ulli Hafner made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Fixed but Unreleased [ 10203 ]
          Ulli Hafner made changes -
          Released As New: 8.0.0
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            drulli Ulli Hafner
            stnekroman StNekroman Nyaa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: