Commit da61134d authored by Evan Read's avatar Evan Read

Merge branch 'eb-document-report-download-workaround' into 'master'

Update docs to show how to make report artifact downloadable

See merge request gitlab-org/gitlab!19426
parents cf7adeff 644d3d96
...@@ -66,6 +66,18 @@ will scan your source code for code quality issues. The report will be saved as ...@@ -66,6 +66,18 @@ will scan your source code for code quality issues. The report will be saved as
that you can later download and analyze. Due to implementation limitations we always that you can later download and analyze. Due to implementation limitations we always
take the latest Code Quality artifact available. take the latest Code Quality artifact available.
By default, report artifacts are not downloadable. If you need them downloadable on the
job details page, you can add `gl-code-quality-report.json` to the artifact paths like so:
```yaml
include:
- template: Code-Quality.gitlab-ci.yml
code_quality:
artifacts:
paths: [gl-code-quality-report.json]
```
The included `code_quality` job is running in the `test` stage, so it needs to be included in your CI config, like so: The included `code_quality` job is running in the `test` stage, so it needs to be included in your CI config, like so:
```yaml ```yaml
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment