CodeScene integration with GitLab

Enable the webhooks for GitLab in your CodeScene project configuration. This adds automated Merge Request comments to GitLab.

GitLab result presentation

Results are presented as Discussion comment in the Merge Request:

GitLab MR Comment

Fig. 39 A successful check

If PR check is successful then the comment is resolved, otherwise it’s unresolved. Status is shown with a green checkmark (red arrow points to it).

This is useful if you set the restriction to prevent merge if there are unresolved comments.

Instead of posting one comment, CodeScene can add discussions to specific lines of files where code degradations and improvements occurred.

GitLab MR Discussion in changed file

Fig. 40 A discussion in files view