Add ansible-lint report as code quality artifact
This commit is contained in:
parent
951dbeb41d
commit
431ed0084e
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue