diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9acb2eaaf3afa14aa4a8dfbbcbed718d0d64c7c..df6d1fa57fa94a558e5f2694fb4644764cb0c914 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ code-quality-master: when: manual script: # writes golangci-lint output to gl-code-quality-report.json - - golangci-lint run --config .ci/.golangci-master.yml --out-format code-climate | tee gl-code-quality-report.json | jq -r '.[] | "\(.location.path):\(.location.lines.begin) \(.description)"' + - golangci-lint run --config .ci/.golangci-master.yml --out-format code-climate | tee gl-code-quality-report.json artifacts: reports: codequality: gl-code-quality-report.json @@ -34,7 +34,7 @@ code-quality: - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH script: # writes golangci-lint output to gl-code-quality-report.json - - golangci-lint run --config .ci/.golangci.yml--out-format code-climate | tee gl-code-quality-report.json | jq -r '.[] | "\(.location.path):\(.location.lines.begin) \(.description)"' + - golangci-lint run --config .ci/.golangci.yml--out-format code-climate | tee gl-code-quality-report.json artifacts: reports: codequality: gl-code-quality-report.json