Add ansible-lint report as code quality artifact

This commit is contained in:
saibotk 2021-03-05 13:24:16 +01:00
parent 951dbeb41d
commit 431ed0084e
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -11,4 +11,7 @@ stages:
ansible-lint: ansible-lint:
stage: lint stage: lint
script: script:
- ansible-lint *.yml - ansible-lint -f codeclimate *.yml > ansible-lint-report.json
artifacts:
reports:
codequality: ansible-lint-report.json