Gitlab Code Quality


Im currently trying to integrate our proyect with code quality. I followed the steps from here but it doesn’t show code quality in widget.

  • Repository allocated in Free user for the repo
  • Runner (Hint: /admin/runners):version 12.7.1 locally configured on linux ubuntu using shell in a machine with docker

however for this test project i tried to use a shared runner and a image wtih java.


image: java:latest

  - build
  - test
  - execute

  - template: Code-Quality.gitlab-ci.yml

  stage: build
  script: /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
     - HelloWorld.*

  stage: test
    paths: [gl-code-quality-report.json]

  stage: execute
  script: /usr/lib/jvm/java-8-openjdk-amd64/bin/java HelloWorld

I tried also usign the local runner using the docker installation configured locally but without success in both sceneries.

Later, i have found that i need to pay at least Bronze licence to get this feature, however, my project also has collaborators.

My question is: ¿Does only the account owner of repository needs to have Bronze licence to enable that feature or its needed also for the collaborators in the repo to make it work?

Thank you for your attention.

@Giovanni2293 - Product Manager for the testing group here. This feature is available in Core so you won’t need a Bronze license to use it, sorry for the confusion!



If it’s included on core, i would like to get help because it shows:

I followed the instructions shown in the site. Any help would be apreciated.

Repo url:

Have a good day and thanks for help.

You can browse to and download the report from the job page, see the right hand side.

In the not too distant future there will be a view of the full report on the pipeline page as well.

Hopefully this helps @Giovanni2293

1 Like

@jheimbuck_gl is this feature described on included yet?

im a bit confused. The feature i want to enable is the coments on the Merge request from Code climate but i can’t figure how to make it work.

Yes it is live/included. You can see it on this MR on a sample project. Code Quality needs to run against the target branch to set a baseline and then against the source branch AND there is a change in the report before the widget will have content though.

1 Like

It worked!, thank you for the help.

1 Like

If a branch is created, before the code climate job is run on master, and you rebase master onto that older branch, should the MR be showing up on the branch?

@bardia - I haven’t tried that use case out and am not certain. If you have tried this yourself let us know how it goes. I will try to replicate on our side as well.