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
59bd1d2c
Commit
59bd1d2c
authored
Jun 06, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dz-backport-codeclimate-docs' into 'master'
Backport CI codeclimate example doc change from EE See merge request !11903
parents
1d847b48
30f4f6b1
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 @
59bd1d2c
# 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.
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
codeclimate
:
...
...
@@ -25,4 +25,10 @@ codeclimate:
This will create a
`codeclimate`
job in your CI pipeline and will allow you to
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](http://docs.gitlab.com/ee/user/project/merge_requests/code_quality_diff.md).
[
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