Published September 09, 2018 by

Check Code Quality in Jenkins

With Jenkins Checkstyle plugin we can generate a report of code quality.

Install Checkstyle Plugin in Jenkins

Go to Dashboard -> Manage Jenkins -> Manage Plugins and select Available tab. Find "Checkstyle" and install it.


Once a plugin is installed Click on Job Configure


In Post-build Actions add Publish Checkstyle analysis results.



Your pom file has to be configured to use this checkstyle report.

Click on Save.

Click on Build Now


If there are any errors and warnings, it will be shown and categorized.