Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Formartha opened this issue Mar 19, 2019 · 1 comment

Comments

@Formartha
Copy link

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?

@astj
Copy link
Owner

astj commented Mar 25, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants