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
d4358566
Commit
d4358566
authored
Aug 29, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix doc
parent
2c98b42e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
doc/ci/examples/code_climate.md
doc/ci/examples/code_climate.md
+1
-3
doc/user/project/merge_requests/code_quality_diff.md
doc/user/project/merge_requests/code_quality_diff.md
+6
-0
No files found.
doc/ci/examples/code_climate.md
View file @
d4358566
...
...
@@ -5,7 +5,7 @@ GitLab CI and Docker.
First, you need GitLab Runner with
[
docker-in-docker executor
][
dind
]
.
Once you set up the Runner, add a new job to
`.gitlab-ci.yml`
, called
`codequality`
or
`codeclimate`
(DEPRECATED[^1])
:
Once you set up the Runner, add a new job to
`.gitlab-ci.yml`
, called
`codequality`
:
```
yaml
codequality
:
...
...
@@ -29,8 +29,6 @@ For GitLab [Enterprise Edition Starter][ee] users, this information can be autom
extracted and shown right in the merge request widget.
[
Learn more on code quality
diffs in merge requests
](
../../user/project/merge_requests/code_quality_diff.md
)
.
[
^1
]:
This
is scheduled to be removed in 11.0.
[
cli
]:
https://github.com/codeclimate/codeclimate
[
dind
]:
../docker/using_docker_build.md#use-docker-in-docker-executor
[
ee
]:
https://about.gitlab.com/gitlab-ee/
doc/user/project/merge_requests/code_quality_diff.md
View file @
d4358566
...
...
@@ -27,6 +27,12 @@ For instance, consider the following workflow:
## How it works
>**Note:**
In
[
GitLab Enterprise Edition Starter
][
ee
]
10.0, another job name will
also be supported:
`codequality`
. This new job name will eventually replace
`codeclimate`
which is scheduled to be removed in GitLab 11.0. You are advised
to update your current
`.gitlab-ci.yml`
configuration to reflect that change.
In order for the report to show in the merge request, you need to specify a
`codequality`
job (exact name) that will analyze the code and upload the resulting
`codeclimate.json`
as an artifact. GitLab will then check this file and show
...
...
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