From c64fa482e26fec17b5c955e4e30b17c2d90d046e Mon Sep 17 00:00:00 2001
From: "gioacchino.vino" <gioacchino.vino@infn.it>
Date: Fri, 29 Sep 2023 13:28:59 +0200
Subject: [PATCH] Improved report summary in jenkins

---
 tasks/2-scan.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tasks/2-scan.yml b/tasks/2-scan.yml
index aa6671d..2b59d72 100644
--- a/tasks/2-scan.yml
+++ b/tasks/2-scan.yml
@@ -30,10 +30,10 @@
     summary_report_json: "{{ summary_report.stdout | from_json }}"
 
 - name: Show reports
-   debug:
-     msg: "{{lookup('file', item.path)}}"
-   with_items: "{{report_files.files}}"
-   when: summary_report_json.global == 'NOK'
+  debug:
+    msg: "{{lookup('file', item.path)}}"
+  with_items: "{{report_files.files}}"
+  when: summary_report_json.global == 'NOK'
 
 - name: Detailed report summary
   debug:
-- 
GitLab