flake8-formatter-junit-xml icon indicating copy to clipboard operation
flake8-formatter-junit-xml copied to clipboard

failed due to an exception: org.xml.sax.SAXException: Input stream is not a Checkstyle file.

Open Formartha opened this issue 6 years ago • 1 comments

Hello, I'm using Jenkins plugin (Checkstyle) in order to publish the code style with using jenkins. however, I'm getting the following error:

failed due to an exception: org.xml.sax.SAXException: Input stream is not a Checkstyle file.

Any idea what causes it?

Formartha avatar Mar 19 '19 08:03 Formartha

Hi @Formartha .

Checkstyle parses Checkstyle XML, not JUnit XML which is composed by this formatter. If you need Checkstyle format, maybe you can use something like https://github.com/d9magai/flake8-checkstyle, though I haven't tried it.

astj avatar Mar 25 '19 11:03 astj