Gitlab and Code-Climate - what does it really cover? nothing?

半腔热情 提交于 2019-12-06 08:39:52

your repository does not contain configuration for the code-quality check, so it runs with default options.

You should probably add a .codeclimate.yml-file. (You can also run sonar as an engine there...)

See https://docs.codeclimate.com/docs/advanced-configuration and https://docs.codeclimate.com/docs/list-of-engines

gitlab by default (i.e. without configutation) seems to be more suited for web-projects, see the default config at https://gitlab.com/gitlab-org/security-products/codequality/tree/master/codeclimate_defaults

Also, you should probably add the report (maybe additionally) in the reports-subentry below artifacts, like:

  artifacts:
    paths:
      - gl-code-quality-report.json
    reports:
      codequality: gl-code-quality-report.json

This way, gitlab shows the new/fixed issues in merge requests (at payed levels), see

Regards, Tim

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!