From 431ed0084e188a3ad4f5c4644bc24a440a70b450 Mon Sep 17 00:00:00 2001 From: saibotk Date: Fri, 5 Mar 2021 13:24:16 +0100 Subject: [PATCH] Add ansible-lint report as code quality artifact --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88d0de6..18220e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,4 +11,7 @@ stages: ansible-lint: stage: lint script: - - ansible-lint *.yml + - ansible-lint -f codeclimate *.yml > ansible-lint-report.json + artifacts: + reports: + codequality: ansible-lint-report.json