summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-06-29 18:42:45 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-06-29 18:42:45 +0000
commitc051d47de83ed0446a05d3972a806f953a6d4bb9 (patch)
treedc35a188f51d748dd7e7c0184291ddf31b3389cc
parent0664715d491311f02074110c639f60fbf80b0e1d (diff)
downloadgitlab-ce-c051d47de83ed0446a05d3972a806f953a6d4bb9.tar.gz
Fix codeclimate job in .gitlab-ci.yml
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8d1a9ce8014..5723b836c76 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -477,7 +477,7 @@ codeclimate:
- docker pull stedolan/jq
- 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 > raw_codeclimate.json
- - cat raw_codeclimate.json | docker run -i stedolan/jq -c 'map({check_name},{fingerprint},{location})' > codeclimate.json
+ - cat raw_codeclimate.json | docker run -i stedolan/jq -c 'map({check_name,fingerprint,location})' > codeclimate.json
artifacts:
paths: [codeclimate.json]