Fix codeclimate job in .gitlab-ci.yml

This commit is contained in:
Dmitriy Zaporozhets 2017-06-29 18:42:45 +00:00
parent 0664715d49
commit c051d47de8
1 changed files with 1 additions and 1 deletions

View File

@ -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]