Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
644d3d96
Commit
644d3d96
authored
Oct 31, 2019
by
Erick Bajao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs to show how to make report artifact downloadble
parent
f1f8ff31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
doc/user/project/merge_requests/code_quality.md
doc/user/project/merge_requests/code_quality.md
+12
-0
No files found.
doc/user/project/merge_requests/code_quality.md
View file @
644d3d96
...
...
@@ -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
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:
```
yaml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment