-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nothing reported, even though sonar-reports looks good #52
Comments
thanks for the report. I hope to be able to work on the plugin next week, I'll let you know if I am missing anything. |
Affected configuration:
There are three different underlying causes happening here.
Problems 2 and 3 are addressed in PR #53, Problem 1 probably needs @cyrilpicat to look at it. |
A side note, I think you are running into issues because you are using SonarQube 4.1. Myself I never tried it as my projects are still on Sonar 3.7.2. I just did the case and the ObjC plugin is working fine with or without the Java plugin in Sonar 3.7.2. I will install the latest Sonar and investigate more this issue. The dependency on the Java plugin would be a bad thing I think, but of course the plugin should continue to work if it's present. |
Using Just to confirm that we too have this problem where the Sonar Analyser completes without raising an error and we pass in a TEST-Junit.xml cobertura.xml and oclint.xml which are all parsed by various jenkins plugins and show coverage, test dispostion and violations over time in jenkins but when they are consumed by the Sonar Runner there is no data other than LoC, files, duplication and comments as statistics inside our instance of SonarQube. I see a lot of debug lines containing this: |
I have the same issue with the same lines in debug as minid33. sonar-objective-c 0.3.2-SNAPSHOT |
I've got an interesting issue, where sonar-runner doesn't report unit tests, test coverage, or OCLint issues even when sonar-reports contains reasonable-looking data for all 3 and sonar-runner reports it's looking at the right report files.
Here's a sonar-reports folder that contains reasonable-looking data for all 3.
Here's debug output for sonar-runner. In spite of correctly detecting the coverage report and OCLint file, it reports 0 violations, 0% coverage, and 0 unit tests.
What is going on here?
The text was updated successfully, but these errors were encountered: