Steps on how to enable Code Quality widget in the pipeline:

Code Quality widget is only available for Gitlab EE.

Read here for more information:
https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html

ScreenshotsInstructions

In the root directory of your project, include the following block into the .codeclimate.yml.



version: "2"
plugins:
  sonar-java:
    enabled: true


Input the following code into the .codeclimate.yml file.



Execute the pipeline and you will see the "Code Quality" tab after the code quality has been executed.

  1. Assumed that the code quality has been added into the pipeline.