Skip to content
代码片段 群组 项目
提交 11d2e83e 编辑于 作者: Russell Dickenson's avatar Russell Dickenson
浏览文件

Merge branch 'docs-add-failed-to-load-code-quality-report-troubleshooting' into 'master'

Add Failed to load Code Quality report troubleshooting section

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/135192



Merged-by: default avatarRussell Dickenson <rdickenson@gitlab.com>
Approved-by: default avatarRussell Dickenson <rdickenson@gitlab.com>
Co-authored-by: default avatarJiovanni Castillo <jcastillo@gitlab.com>
无相关合并请求
......@@ -710,3 +710,39 @@ Replace `gitlab.example.com` with the actual domain of the registry.
mount_path = "/etc/docker/certs.d/gitlab.example.com/ca.crt"
sub_path = "gitlab.example.com.crt"
```
### Failed to load Code Quality report
The Code Quality report can fail to load when there are issues parsing data from the artifact file.
To gain insight into the errors, you can execute a GraphQL query using the following steps:
1. Go to the pipeline details page.
1. Append `.json` to the URL.
1. Copy the `iid` of the pipeline.
1. Go to [GraphiQL explorer](../../api/graphql/index.md#graphiql).
1. Run the following query:
```graphql
{
project(fullPath: "<fullpath-to-your-project>") {
pipeline(iid: "<iid>") {
codeQualityReports {
count
nodes {
line
description
path
fingerprint
severity
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}
}
}
```
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册