-
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
No violations showing up #85
Comments
I have the same issue on OS 10.10, XCode 6.3. Analysis finishes fine, an oclint.xml is created which looks good, with lots of issues, but according to the webUI the amount of issues is 0 i.e. the report is not read/shown. To be fair, oclint threw this during ./run-sonar.sh:
If i raise the threshold oclint stops completely:
|
Hi @devangpandya20 , |
Having the same Issue here. |
I have the same problem on:
oclint.xml has plenty of violations, from the log file:
|
Hi, Did you have a look at your quality profiles ? |
Hi @zippy1978, Yes I have the OCLint profile with 63 rules: I've tried using the project quality profile for objective-c of Default as well as OCLint. |
@mikar,@bkottcamp Have you found the solution around the 245 error code? |
i wrote another java file along with the plugin..and it created oclint.xml with the help of xcode, and plugin is working fine for me. |
same issue here: |
Instead of using this plugin, if you know how to parse the errors and give to to jenkins for listing..then easiest method is,write a java program to generate a oclint.xml..and using that file parse the erors and give those to jenkins. |
I am now able to get violations to show up. Since OCLint violations weren't showing up, I switch to https://github.com/Backelite/sonar-objective-c in order to store FauxPas findings. Then I noticed that OCLint was finding violations, but they weren't being stored in the oclint.xml file. When I ran command line oclint report type text and html produced output but pmd and json did not. I switched from OCLint 0.8.1 to OCLint 0.9 dev. At first I received the 245 error code, then I realized I had not completed the install of OCLint - I forgot the /usr/local/lib/ part of the install. Now I'm able to see both OCLint and FauxPas findings in Sonar. |
Which command u executed for getting oclint report. |
It helped me oclint/oclint#251 |
hi @bkottcamp how to switched from OCLint 0.8.1 to OCLint 0.9 dev |
@amin234 I've now switched to OCLint 0.10.2 by installing and adding it to the path before calling run-sonar: |
I checked #71 #72 and #52 but am still facing the same issue. No violations are showing up in the dashboard. Below is my setup details and attaching a screenshot of the dashboard. I double checked and have the default quality profile set to OCLint.
OS - 10.9.4
Xcode - 6.2
Sonar - 5.1
Sonar-runner - 2.4
sonar-objective-c - 0.4.0
The text was updated successfully, but these errors were encountered: