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

0 views
Skip to first unread message

jllachf@gmail.com (JIRA)

unread,
Nov 20, 2018, 12:47:01 PM11/20/18
to jenkinsc...@googlegroups.com
Jordi Llach created an issue
 
Jenkins / Improvement JENKINS-54736
Show errors of pmd.xml file
Issue Type: Improvement Improvement
Assignee: Ulli Hafner
Attachments: pmd.xml
Components: warnings-ng-plugin
Created: 2018-11-20 17:46
Priority: Major Major
Reporter: Jordi Llach

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

ullrich.hafner@gmail.com (JIRA)

unread,
Nov 20, 2018, 3:42:01 PM11/20/18
to jenkinsc...@googlegroups.com
Ulli Hafner updated an issue
Change By: Ulli Hafner
Component/s: analysis-model
Component/s: warnings-ng-plugin

ullrich.hafner@gmail.com (JIRA)

unread,
Nov 20, 2018, 3:44:02 PM11/20/18
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Improvement JENKINS-54736
 
Re: Show errors of pmd.xml file

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

The parser currently reads only violations...

jllachf@gmail.com (JIRA)

unread,
Nov 22, 2018, 4:05:02 PM11/22/18
to jenkinsc...@googlegroups.com

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.

ullrich.hafner@gmail.com (JIRA)

unread,
Nov 22, 2018, 5:59:02 PM11/22/18
to jenkinsc...@googlegroups.com

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...)

ullrich.hafner@gmail.com (JIRA)

unread,
Jan 15, 2019, 6:29:01 AM1/15/19
to jenkinsc...@googlegroups.com
Ulli Hafner updated an issue
Change By: Ulli Hafner
Labels: help-wanted newbie-friendly

ullrich.hafner@gmail.com (JIRA)

unread,
Jan 15, 2019, 6:29:01 AM1/15/19
to jenkinsc...@googlegroups.com
Ulli Hafner assigned an issue to Unassigned
Change By: Ulli Hafner
Assignee: Ulli Hafner

ullrich.hafner@gmail.com (JIRA)

unread,
Apr 23, 2019, 1:58:03 PM4/23/19
to jenkinsc...@googlegroups.com
Ulli Hafner assigned an issue to Ulli Hafner

ullrich.hafner@gmail.com (JIRA)

unread,
Apr 23, 2019, 1:58:03 PM4/23/19
to jenkinsc...@googlegroups.com
Change By: Ulli Hafner
Status: In Progress Fixed but Unreleased
Resolution: Fixed

ullrich.hafner@gmail.com (JIRA)

unread,
Apr 23, 2019, 1:58:03 PM4/23/19
to jenkinsc...@googlegroups.com
Ulli Hafner started work on Improvement JENKINS-54736
 
Change By: Ulli Hafner
Status: Open In Progress

ullrich.hafner@gmail.com (JIRA)

unread,
May 8, 2019, 6:20:13 PM5/8/19
to jenkinsc...@googlegroups.com
Change By: Ulli Hafner
Status: Fixed but Unreleased Resolved
Released As: 5.0.0 (analysis-model and warnings-ng)
Reply all
Reply to author
Forward
0 new messages