Integrate GitLab code quality reports with Code PushUp issues #110
Labels
enhancement
New feature or request
gitlab
GitLab pipelines template (https://gitlab.com/code-pushup/gitlab-pipelines-template)
User story
As a GitLab user, I would like to have some feature equivalent to GitHub annotations, so that during code review I can see new issues in source code which Code PushUp detected.
Research
GitLab CI/CD supports [Code Quality(https://docs.gitlab.com/ee/ci/testing/code_quality.html) reports, which are tightly integrated in the MR user interface.
The Code Quality report format maps nicely to our
Issue
model. The only non-trivial field is thefingerprint
, which serves to uniquely identify the violation. We could take inspiration fromeslint-formatter-gitlab
here, which hashes the relative file path, rule ID and message.Acceptance criteria
code-pushup.yml
template creates a code quality report artifactdetectNewIssues
is disabled, no such report is createdThe text was updated successfully, but these errors were encountered: