Good day ! Interested in the question of how to use checkstyle / findbugs / PMD pragins in sonar. Those. I have customized jenkins + sonar, Joba wounds a scanner, transmits parameters, etc. but the result of the scan is the same ... what with the installed plugins, that without. It is necessary somehow to write in addition in a jobe these plug-ins? What is in the job:

# Required metadata sonar.projectKey=test-java-3 sonar.projectName=test-java-3 sonar.projectVersion=1.0 # Description of project (optional) sonar.projectDescription=test Java part # Comma-separated paths to directories with sources (required) sonar.sources=src sonar.language=java # Encoding of the source files sonar.sourceEncoding=UTF-8 

Thank.

    1 answer 1

    You need to go to the Rules -> Repository -> select the desired plugin -> export the rules to the desired profile.

    • Please try to publish detailed answers containing a specific example of the minimum solution. - Nicolas Chabanovsky