Skip to content
Snippets Groups Projects
Commit 0238664a authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

Improved report visualization

parent 63f5f3d7
No related branches found
No related tags found
1 merge request!103Improved report visualization
Pipeline #134399 failed
......@@ -75,25 +75,12 @@
with_items: "{{ report_files.files }}"
when: summary_report_json.global == 'NOK'
- name: Show scan log if vulnerability detected
- name: Show scan logs
block:
- name: Load log
command: cat "{{ paas_ci_workdir + '/scan.log' }}"
register: log
- name: import log
set_fact:
imported_log: "{{ log.stdout }}"
- name: Show log
debug:
var: imported_log
when: summary_report_json.global == 'NOK'
- name: Show scan log if vulnerability detected 222
block:
- name: Load log 222
- name: Load log
command: cat "{{ paas_ci_workdir + '/scan.log' }}"
register: imported_log
- name: Show log 222
- name: Show log
debug:
var: imported_log.stdout_lines
when: summary_report_json.global == 'NOK'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment