• 5.0.0 (analysis-model and warnings-ng)

      When using pmd, pmd-jsp, we often encounter JSPs that are so broken that can not even be parsed.

      Those errors are contained in the pmd.xml file but are not shown in the ui, I attach a sample pmd.xml file

          [JENKINS-54736] Show errors of pmd.xml file

          Ulli Hafner added a comment -

          I see, I never encountered a PMD error in my code

          The parser currently reads only violations...

          Ulli Hafner added a comment - I see, I never encountered a PMD error in my code The parser currently reads only violations...

          Jordi Llach added a comment -

          Ulli Hafner Thanks for the feedback, maybe if you help me I could create a PR to fix this. BTW I thought that analysis-model was deprecated in favour of warning-ng-plugin.

          Jordi Llach added a comment - Ulli Hafner Thanks for the feedback, maybe if you help me I could create a PR to fix this. BTW I thought that analysis-model was deprecated in favour of warning-ng-plugin.

          Ulli Hafner added a comment -

          The warnings plugin is deprecated. The parsers are now in the stand-alone library analysis-model that is not depending on Jenkins anymore.

          If would be great if you can help here. I think for the parser a new class in the style of Violation is required that reads the error properties. Or if the properties are the same then just a new list in the File class may be sufficient (I’m currently on vacation so I don’t have an IDE at hand...)

          Ulli Hafner added a comment - The warnings plugin is deprecated. The parsers are now in the stand-alone library analysis-model that is not depending on Jenkins anymore. If would be great if you can help here. I think for the parser a new class in the style of Violation is required that reads the error properties. Or if the properties are the same then just a new list in the File class may be sufficient (I’m currently on vacation so I don’t have an IDE at hand...)

            drulli Ulli Hafner
            jllachf Jordi Llach
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: