Gitlab¶
Report name: gitlab
Report that generates a Gitlab Code Quality output file.
It allows displaying issue information in the Gitlab, for example, in the PR view. More information at GitHub Code Quality Report. Read more about the integration of Robocop with Gitlab at Gitlab report.
Enable with:
It is also possible to use --gitlab alias:
It will create robocop-code-quality.json file in the current directory.
Configuration¶
Output path¶
You can configure an output path with the output_path option. It's a relative path to the file that will be produced
by the report:
The default path is robocop-code-quality.json.
Skip on empty¶
By default, the report file is generated even if Robocop did not find any issue. Set the skip_on_empty option
to True to not create the file when there is nothing to report:
If the file was created by a previous run, it is left untouched.