-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
[Gitlab] Generate codeclimate.json for Gitlab Code Quality MR Widget #296
Comments
Note that this fork of the project works just fine with the current sonarqube version (8.6.x). So I suggest looking at the fork for inspiration instead of the defunct version. |
I'm currently using the sonar-gitlab-plugin. The issue here is because we can't use Apparently, if I do not specify a branch name if I'm using both plugins, the sonar-gitlab-plugin generates an empty report. It would be awesome if this branch plugin could generate the report file! |
I agree with you @lucasoares ! |
Cross-Reference for empty reports on pull requests javamachr/sonar-gitlab-plugin#9 I have this problem on a developer edition instance, too. |
Hello guys.. Any news here? |
I am not quite sure, but would it make sense to "merge" efforts instead of "duplication" of the logic? I think that would result in a great benefit for the community. 🤓 |
Agreed @ezintz Unfortunately I do not have time right now to bring code climate generation from the other plugin to this one but it would be great! |
The plugin sonar-gitlab-plugin is relying on Unfortunately the Thus I've copied the same logic here By creating a new endpoint called
This endpoint will transform all Thus simply add following inside your
And tada is working If approach is quite ok for the mainstream project, I could cleanup and propose PR |
Gitlab released the Code Quality MR Widget to the core edition of gitlab.
https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html
It would be great to see this feature as part of the pull request decorator for gitlab.
Currently, the defunct plugin https://github.com/gabrie-allaigre/sonar-gitlab-plugin provide this feature but running this plugin could be a risk since no one maintain this plugin and no one could guarantee the compatibility betten this and sonar-gitlab-plugin plugin.
Take a look at the implementation details: https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html#implementing-a-custom-tool
The text was updated successfully, but these errors were encountered: