debug(): Debugging pipeline for failures
This commit is contained in:
parent
72a413bd45
commit
1952265a14
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ class Trivy:
|
|||
cmd = f"{base} {suffix}"
|
||||
if extra_vars:
|
||||
cmd = f"{base} {extra_vars} {suffix}"
|
||||
print(cmd)
|
||||
cmd_result = subprocess.run(cmd.split(" "), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
return cmd_result.stdout.decode("utf-8"), cmd_result.returncode
|
||||
|
||||
|
|
Loading…
Reference in a new issue