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
b0df7335
Commit
b0df7335
authored
Nov 02, 2020
by
Vicken Simonian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc: Add example to Generate both json and html reports
parent
12de7161
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
doc/user/project/merge_requests/code_quality.md
doc/user/project/merge_requests/code_quality.md
+15
-0
No files found.
doc/user/project/merge_requests/code_quality.md
View file @
b0df7335
...
@@ -284,6 +284,21 @@ code_quality:
...
@@ -284,6 +284,21 @@ code_quality:
paths
:
[
gl-code-quality-report.html
]
paths
:
[
gl-code-quality-report.html
]
```
```
It's also possible to generate both JSON and HTML report files by defining
another job and using
`extends: code_quality`
:
```
yaml
include
:
-
template
:
Code-Quality.gitlab-ci.yml
code_quality_html
:
extends
:
code_quality
variables
:
REPORT_FORMAT
:
html
artifacts
:
paths
:
[
gl-code-quality-report.html
]
```
## Extending functionality
## Extending functionality
### Using Analysis Plugins
### Using Analysis Plugins
...
...
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