javamachr / sonar-gitlab-plugin

Add to each commit GitLab in a global commentary on the new anomalies added by this commit and add comment lines of modified files
GNU Lesser General Public License v3.0
123 stars 23 forks source link

Running on MR pipelines generated empty CODECLIMATE #9

Open jkroepke opened 3 years ago

jkroepke commented 3 years ago

If running this plugin inside a MR pipeline, the CODECLIMATE report is always empty.

jkroepke commented 3 years ago

I guess the problem is, the json will only report new issues

https://github.com/javamachr/sonar-gitlab-plugin/blob/5c1888519792b26b05ca4f6bd732ca6f071e9980/src/main/java/com/talanlabs/sonar/plugins/gitlab/CommitPublishPostJob.java#L96

existing issus will not reported and will be marked as fixed