Open helabenkhalfallah opened 10 years ago
I've the same problem, that my coverage data are not shown in sonar. but the plugin tells me that they are processed
Version 0.3.x of the plugin was not compatible with SonarQube > 4.3 indeed. Does the 0.4.0 version fix your issue?
By me unit test coverage is shown, but unit test success is not.
SonarQube 4.4,
sonar-objective-c plugin 0.4.0
Reports are in sonar-report folder. Coverage and Test reports are not empty.
This is my current configuration:
It seems that the plugin is not compatible with SonarQube 4.4.
Below you can find console output (./run-sonar.sh -v) and a screen capture of my sonar dashboard:
20:14:24.904 INFO - Quality profile for objc: OCLint 20:14:25.207 INFO - JaCoCo report not found. 20:14:25.238 INFO - JaCoCo IT report not found. 20:14:25.286 INFO - JaCoCo reports not found. 20:14:25.424 INFO - Sensor QProfileSensor... 20:14:25.440 INFO - Sensor QProfileSensor done: 16 ms 20:14:25.440 INFO - Sensor ObjectiveCSquidSensor... 20:14:27.189 INFO - Sensor ObjectiveCSquidSensor done: 1749 ms 20:14:27.189 INFO - Sensor Objective-C SurefireSensor... 20:14:27.189 INFO - parsing sonar-reports 20:14:27.348 INFO - Sensor Objective-C SurefireSensor done: 159 ms 20:14:27.348 INFO - Sensor org.sonar.plugins.objectivec.coverage.CoberturaSensor@6f9284ad... 20:14:27.367 INFO - Sensor org.sonar.plugins.objectivec.coverage.CoberturaSensor@6f9284ad done: 19 ms 20:14:27.367 INFO - Sensor org.sonar.plugins.objectivec.violations.OCLintSensor@7c44b314... 20:14:27.367 INFO - Processing OCLint report xxxxxxx/sonar-reports/oclint.xml 20:14:27.370 ERROR - Reporting 0 violations. 20:14:27.370 INFO - Sensor org.sonar.plugins.objectivec.violations.OCLintSensor@7c44b314 done: 3 ms 20:14:27.370 INFO - Sensor CpdSensor... 20:14:27.370 INFO - SonarBridgeEngine is used for objc 20:14:27.396 INFO - Cross-project analysis disabled 20:14:28.543 INFO - Sensor CpdSensor done: 1173 ms 20:14:28.543 INFO - Sensor InitialOpenIssuesSensor... 20:14:28.554 INFO - Sensor InitialOpenIssuesSensor done: 11 ms 20:14:28.555 INFO - Sensor ProjectLinksSensor... 20:14:28.560 INFO - Sensor ProjectLinksSensor done: 5 ms 20:14:28.561 INFO - Sensor VersionEventsSensor... 20:14:28.572 INFO - Sensor VersionEventsSensor done: 11 ms 20:14:28.573 INFO - Sensor FileHashSensor... 20:14:28.596 INFO - Sensor FileHashSensor done: 23 ms 20:14:29.037 INFO - Execute decorators... 20:14:33.153 INFO - Store results in database 20:14:36.942 INFO - ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard/index/xxxxxxxx 20:14:37.000 INFO - Executing post-job class org.sonar.plugins.core.issue.notification.SendIssueNotificationsPostJob 20:14:37.001 INFO - Executing post-job class org.sonar.plugins.core.batch.IndexProjectPostJob 20:14:37.028 INFO - Executing post-job class org.sonar.plugins.dbcleaner.ProjectPurgePostJob 20:14:37.050 INFO - -> Keep one snapshot per day between 2014-08-30 and 2014-09-26 20:14:37.051 INFO - -> Keep one snapshot per week between 2013-09-28 and 2014-08-30 20:14:37.052 INFO - -> Keep one snapshot per month between 2009-10-03 and 2013-09-28 20:14:37.052 INFO - -> Delete data prior to: 2009-10-03 20:14:37.059 INFO - -> Clean xxxxxxxx [id=246] 20:14:37.063 INFO - <- Clean snapshot 16858 INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ Total time: 29.673s Final Memory: 21M/755M INFO: ------------------------------------------------------------------------