chrismair / GrailsCodeNarcPlugin

Grails CodeNarc plugin
Apache License 2.0
10 stars 5 forks source link

Xml Report missing 'maxPriority' option #12

Open vahidpaz opened 7 years ago

vahidpaz commented 7 years ago

This is more of a feature request based on the documentation I see for codenarc.

Reports like type=html support the 'maxPriority' option, but type=xml does not. Is this going to be added soon?

chrismair commented 7 years ago

That feature was intentionally left out of the XML report; the expectation was that you could filter/process the elements you cared about and ignore the rest.

vahidpaz commented 7 years ago

Okay. I'm trying to remove the low priority violations from the graph that ends up being displayed in Jenkins. How would I do that?

The Jenkins violations plugin doesn't seem to have that option but I will look further.