summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-06-27 19:24:49 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-06-27 19:24:49 +0000
commit913f5834a39817125f9b8c26bcf8a0325a97c653 (patch)
treed7569ebe7dded1df64e7396c6e86ac2bc0e3b699
parent585e6aa5b20b31b1de01f7c5aa9aea67d7a377f4 (diff)
downloadgitlab-ce-913f5834a39817125f9b8c26bcf8a0325a97c653.tar.gz
Remove unused data from code climate artifact
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 76a95ad6e0a..abb49506828 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -473,6 +473,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\"\:\".*\"//' codeclimate.json
artifacts:
paths: [codeclimate.json]