I have Pipeline which run Jenkinsfile. one of the stage is pylint:

python -m pylint --rcfile=.pylintrc --exit-zero ${MODULE} > ${WORKSPACE}/testreport/pylint.log

I know there was used to be violations plugin which is now deprecated. is there any alternative?

1 Answer 1


Jenkins accepts JUnit-formatted test results with the JUnit plugin, so you could try pylint-junit to output JUnit-formatted results (I have not tried this myself).

Also it looks like a very similar question was asked and answered over on StackOverflow.

  • I ran it. Any idea why using this plugin doesn't print the score like in the log: Your code has been rated at 9.79/10
    – arielma
    Nov 30, 2020 at 9:28
  • Because you use XML format output. Thus the plain text Your code... makes XML malformed. Apr 13, 2022 at 8:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.