mibexsoftware / sonar-bitbucket-plugin

SonarQube plug-in to create pull request comments for found issues in Bitbucket Cloud
Other
122 stars 72 forks source link

Scanner doesn't use certain scan sensors #96

Open jchristheodore opened 6 years ago

jchristheodore commented 6 years ago

Expected Behavior

[INFO] Sensor SurefireSensor [java] (done) | time=0ms [INFO] Sensor JaCoCoSensor [java] [INFO] Sensor JaCoCoSensor [java] (done) | time=15ms [INFO] Sensor SonarJavaXmlFileSensor [java] [INFO] Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms [INFO] Sensor Zero Coverage Sensor [INFO] Sensor Zero Coverage Sensor (done) | time=203ms [INFO] Sensor CPD Block Indexer [INFO] Copy-paste detection exclusions: */datatypes/.java [INFO] Sensor CPD Block Indexer (done) | time=297ms [INFO] 60 files had no CPD blocks [INFO] Calculating CPD for 138 files [INFO] CPD calculation finished [INFO] Analysis report generated in 797ms, dir size=1 MB [INFO] Analysis reports compressed in 766ms, zip size=730 KB [INFO] Analysis report uploaded in 78ms

Actual Behavior

[INFO] Sensor SurefireSensor [java] (done) | time=16ms [INFO] Sensor JaCoCoSensor [java] [INFO] Sensor JaCoCoSensor [java] (done) | time=0ms [INFO] Sensor SonarJavaXmlFileSensor [java] [INFO] Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms [INFO] Load server issues [INFO] 0/0 source files have been analyzed [INFO] 2/2 source files have been analyzed [INFO] Load server issues (done) | time=62ms [INFO] Performing issue tracking [INFO] 354/354 components tracked [INFO] ANALYSIS SUCCESSFUL

Plug-in version, SonarQube version, CI system, build type

Plugin version v1.2.3

The plugin doesn't comment about code duplications to BitBucket because the CPD scan sensor is missing.

The more we know about your setup, the easier it will be for us to reproduce the problem.