Support generating Code Quality JSON reports (for GitLab CI integration)

Created on 6 August 2021, over 3 years ago
Updated 12 May 2024, 6 months ago

Problem/Motivation

The upgrade_status module can currently generate two types of reports through Drush: a 'normal' table and a 'checkstyle' report.
Gitlab CI supports Code Quality (Code Climate) reports. If upgrade_status could generate this report, it can be loaded in Gitlab and its results can be shown in the UI.
More information is in the Gitlab documentation: https://docs.gitlab.com/ee/ci/testing/code_quality.html

Proposed resolution

Create a upgrade_status:codequality command, just like the upgrade_status:checkstyle command, which generates JSON output that can be interpeted by Gitlab.

Remaining tasks

Create patch.

User interface changes

None.

API changes

None.

Data model changes

None.

Feature request
Status

Fixed

Version

4.0

Component

Code

Created by

🇳🇱Netherlands bartlangelaan Netherlands

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024