Reputation: 41
I am new to using Jenkins and I recently built a project with it and installed the "Checkstyle" plugin and received a report.
I want to know how I can configure "Checkstyle" to, let's say, ignore whitespaces or other criteria that may come up?
Thank you!
Upvotes: 4
Views: 9908
Reputation: 1685
Jenkins simply reads the checkstyle report after it was run in the course of a build, and is extraneous to the question. To configure checkstyle, you want to modify or create checkstyle.xml (the location is configurable via method based your choice of build automation tool, such as maven or gradle. The checkstyle manual has further details on how to accomplish any checks you may desire.
Upvotes: 1