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

Improved report visualization

parent 5ec4169a
No related branches found
No related tags found
1 merge request!102Debug paas ci
Pipeline #134363 passed
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
dest: "{{ paas_ci_workdir + '/scan.py' }}" dest: "{{ paas_ci_workdir + '/scan.py' }}"
mode: a+x mode: a+x
############# DA TOGLIERE
- name: Load depdep log - name: Load depdep log
command: cat "{{ paas_ci_workdir + '/dep.json' }}" command: cat "{{ paas_ci_workdir + '/dep.json' }}"
register: dep_json register: dep_json
...@@ -38,6 +39,7 @@ ...@@ -38,6 +39,7 @@
- name: Show paas_ci_test.endpoints_to_scan log - name: Show paas_ci_test.endpoints_to_scan log
debug: debug:
var: paas_ci_test.endpoints_to_scan var: paas_ci_test.endpoints_to_scan
################### FINO QUI
- name: Run scan without endpoints_to_scan variable - 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 }}" command: "{{ paas_ci_workdir + '/scan.py' }} --dep-json {{ paas_ci_workdir + '/dep.json'}} --output-dir {{ paas_ci_workdir }}"
...@@ -93,7 +95,7 @@ ...@@ -93,7 +95,7 @@
register: imported_log register: imported_log
- name: Show log - name: Show log
debug: debug:
var: imported_log var: imported_log.stdout_lines
when: summary_report_json.global == 'NOK' when: summary_report_json.global == 'NOK'
- name: Detailed report summary - name: Detailed report summary
......
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