Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-06-28 13:18:15 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2017-06-28 13:18:15 +0300
commit9a61b3799e26ec3c6ff01958400c7133da496b10 (patch)
treef1f08cf6de3f1a923a40d83ff0f7c58a557bbf21 /.gitlab-ci.yml
parent41320cb8a0583ec9b440d6e440a35cf0899b9837 (diff)
parent816038ce37d387d8fc062f978c2fb2282acee7f3 (diff)
Merge branch 'dz-cleanup-codeclimate-json' into 'master'
Remove unused data from code climate artifact See merge request !12494
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d97828431c5..790d9a1f72a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -476,6 +476,7 @@ codeclimate:
script:
- docker pull codeclimate/codeclimate
- docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json > codeclimate.json
+ - sed -i.bak 's/\({"body":"\)[^"]*\("}\)/\1\2/g' codeclimate.json
artifacts:
paths: [codeclimate.json]