Parse Security and License Compliance reports after CI job is finished, not when Pipeline is completed
Currently, we're parsing CI job artifacts and store reports only after Pipeline is completed, we're doing it even if Pipeline is failed.
This has some disadvantages:
- We have to deal with all reports in one place, which makes it harder to optimize the code.
- It prevents us to show Users finding earlier in the CI cycle.
- It prevents us to show Users findings from finished CI jobs if one of the builds is failed.
Taking all of this into account, we can split parsing and do it earlier - after CI job is finished. This is also not the perfect solution since we had to check if the build has a security artifact or not every time (and there could be a lot of builds even in one pipeline).
Edited by Tetiana Chupryna