BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
144f0e0d
Unverified
Commit
144f0e0d
authored
Jun 05, 2017
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport CI codeclimate example doc change from EE
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
437bb928
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
code_climate.md
doc/ci/examples/code_climate.md
+9
-3
No files found.
doc/ci/examples/code_climate.md
View file @
144f0e0d
# Analyze project code quality with Code Climate CLI
# Analyze project code quality with Code Climate CLI
This example shows how to run
[
Code Climate CLI
][
cli
]
on your code by using
\
This example shows how to run
[
Code Climate CLI
][
cli
]
on your code by using
GitLab CI and Docker.
GitLab CI and Docker.
First, you need GitLab Runner with
[
docker-in-docker executor
]
(
../docker/using_docker_build.md#use-docker-in-docker-executor
)
.
First, you need GitLab Runner with
[
docker-in-docker executor
]
[
dind
]
.
Once you set
up the Runner add new job to
`.gitlab-ci.yml
`
:
Once you set
up the Runner, add a new job to
`.gitlab-ci.yml`
, called
`codeclimate
`
:
```
yaml
```
yaml
codeclimate
:
codeclimate
:
...
@@ -25,4 +25,10 @@ codeclimate:
...
@@ -25,4 +25,10 @@ codeclimate:
This will create a
`codeclimate`
job in your CI pipeline and will allow you to
This will create a
`codeclimate`
job in your CI pipeline and will allow you to
download and analyze the report artifact in JSON format.
download and analyze the report artifact in JSON format.
For GitLab
[
Enterprise Edition Starter
][
ee
]
users, this information can be automatically
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).
[
cli
]:
https://github.com/codeclimate/codeclimate
[
cli
]:
https://github.com/codeclimate/codeclimate
[
dind
]:
../docker/using_docker_build.md#use-docker-in-docker-executor
[
ee
]:
https://about.gitlab.com/gitlab-ee/
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