Browse Source

docs: Add extra information for GitLab reporter's integration with GitLab Code Quality (#7172)

Antonin CLAUZIER 1 year ago
parent
commit
769440d6d7
1 changed files with 6 additions and 0 deletions
  1. 6 0
      doc/usage.rst

+ 6 - 0
doc/usage.rst

@@ -211,6 +211,12 @@ Then, add the following command to your CI:
 
 Where ``$COMMIT_RANGE`` is your range of commits, e.g. ``$TRAVIS_COMMIT_RANGE`` or ``HEAD~..HEAD``.
 
+GitLab Code Quality Integration
+###############################
+
+If you want to integrate with GitLab's Code Quality feature, in order for report to contain correct line numbers, you
+will need to use both ``--format=gitlab`` and ``--diff`` arguments.
+
 Environment options
 -------------------