How to use existing Checkstyle files in SonarQube -


my co-workers , incorporate sonarqube our existing projects. our normal development process java projects involves running checkstyle on code changes ensure follow our style rules, committing project our code repository , having jenkins build , package latest version. we’d add sonarqube final step (through jenkins plugin) don’t want duplicate of our checkstyle rules in sonarqube, since require maintain 2 separate sets of rules , make things more complicated if need make changes rules. don’t want switch sonarqube since we’d still run checkstyle before commit code our repository. we’d prefer maintain our own checkstyle files main set of style rules opposed maintaining style rules on sonarqube , downloading generated xml files our local development.

so there way “upload” (so speak) our existing set of checkstyle xml files sonarqube use in evaluation?

thanks help.

from point of view, should make choice: use sonarqube or checkstyle not both. checkstyle on code changes ensure follow our style rules => can't replace step sonarqube. see example: http://docs.codehaus.org/display/sonar/using+sonarqube+in+eclipse or http://docs.codehaus.org/display/sonar/issues+report+plugin


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -