Check Code Quality in Jenkins

check code quality in jenkins

With the Jenkins Checkstyle plugin, we can check code quality in Jenkins.

Install Checkstyle Plugin in Jenkins

Go to Dashboard -> Manage Jenkins -> Manage Plugins and select the 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.

AmritMatti

I’m the owner of “DevOpsTechy.online” and been in the industry for almost 5 years. What I’ve noticed particularly about the industry is that it reacts slowly to the rapidly changing world of technology. I’ve done my best to introduce new technology into the community with the hopes that more technology can be utilized to serve our customers. I’m going to educate and at times demonstrate that technology can help businesses innovate and thrive. Throwing in a little bit of fun and entertainment couldn’t hurt right?

AmritMatti

I’m the owner of “DevOpsTechy.online” and been in the industry for almost 5 years. What I’ve noticed particularly about the industry is that it reacts slowly to the rapidly changing world of technology. I’ve done my best to introduce new technology into the community with the hopes that more technology can be utilized to serve our customers. I’m going to educate and at times demonstrate that technology can help businesses innovate and thrive. Throwing in a little bit of fun and entertainment couldn’t hurt right?

View all posts by AmritMatti →

Leave a Reply

Your email address will not be published. Required fields are marked *