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

Improved report visualization

parent dd3e9238
No related branches found
No related tags found
1 merge request!105Improved report visualization
Pipeline #134445 failed
......@@ -23,24 +23,6 @@
dest: "{{ paas_ci_workdir + '/scan.py' }}"
mode: a+x
############# DA TOGLIERE
- name: Load depdep log
command: cat "{{ paas_ci_workdir + '/dep.json' }}"
register: dep_json
- name: import depdep_log
set_fact:
imported_depdep_log: "{{ dep_json.stdout }}"
- name: Show depdep log
debug:
var: imported_depdep_log
- name: Show paas_ci_test.endpoints_to_scan log
debug:
var: paas_ci_test.endpoints_to_scan
################### FINO QUI
- name: Run scan without endpoints_to_scan variable
command: "{{ paas_ci_workdir + '/scan.py' }} --dep-json {{ paas_ci_workdir + '/dep.json'}} --output-dir {{ paas_ci_workdir }}"
register: scan_output
......@@ -75,16 +57,6 @@
with_items: "{{ report_files.files }}"
when: summary_report_json.global == 'NOK'
- name: Show scan logs
block:
- name: Load log
command: cat "{{ paas_ci_workdir + '/scan.log' }}"
register: imported_log
- name: Show log
debug:
var: imported_log.stdout_lines
when: summary_report_json.global == 'NOK'
- name: Detailed report summary
debug:
var: summary_report_json
......
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