diff options
author | Rémy Coutable <remy@rymai.me> | 2018-02-21 16:25:22 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-02-21 16:25:28 +0100 |
commit | a0ef01c8724b6f20b49481d19e58f5ddeb993c82 (patch) | |
tree | ac6d37f6132488f80cf295cf4e8d9e9ef0b0a1d8 /.gitlab-ci.yml | |
parent | 0922027877ea08b42b171f5ab2c4e35eabf4f734 (diff) | |
download | gitlab-ce-a0ef01c8724b6f20b49481d19e58f5ddeb993c82.tar.gz |
Optimize and improve the inline documentation for the codequality job
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 74dfb9dba6e..ae762e7aa6e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -619,7 +619,9 @@ codequality: cache: {} dependencies: [] script: - - ./scripts/codequality analyze -f json > codeclimate.json || true + - ./scripts/codequality analyze -f json > raw_codeclimate.json || true + # The following line keeps only the fields used in the MR widget, reducing the JSON artifact size + - cat raw_codeclimate.json | docker run -i stedolan/jq -c 'map({check_name,description,fingerprint,location})' > codeclimate.json artifacts: paths: [codeclimate.json] expire_in: 1 week |