Add GraphQL support of 'CodeQualityReportSummary'
What does this MR do and why?
Related Issue: #322021 (closed)
Update GraphQL - Add a new field code_quality_report_summary
for PipelineType
.
Screenshots or screen recordings
No UI changes.
How to set up and validate locally
- License: GitLab Starter
- Make sure your local environment has configured
code quality
.
For the configuration method, please refer to the gitlab documentation: https://docs.gitlab.com/...
If you can see the code quality results on the pipeline page, the configuration is successful:
- Open the GraphiQL page(http://127.0.0.1:3000/-/graphql-explorer) and execute the query
{ project(fullPath: "flightjs/Flight") { id pipeline(iid: 2) { id codeQualityReportSummary { count blocker critical major minor info unknown } } } }
Edited by Zhiyuan Lu