Skip to content
Snippets Groups Projects
Commit ccf264ba authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

Update .gitlab-ci.yml

parent c91241ab
No related branches found
No related tags found
1 merge request!18Develop
Pipeline #52467 failed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment