From fceaa8c5bc35436eb9418c2b18eeab2caaceac8b Mon Sep 17 00:00:00 2001 From: Manuel Kieweg <manuel.kieweg@h-da.de> Date: Tue, 6 Oct 2020 10:33:58 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81473872f..9018fe1a1 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 -- GitLab