How to add an external report to a past scan?


I have a task, added external reports after finished scanning jobs.
Is it possible?

In short, in job 3 I scan the project using sonar-scanner-cli, the 4th job builds the docker container, the 5th job scans the finished docker image using Trivy, I want to load the report into the past sonar scan in the same step


Welcome to the community!

You can’t update an existing analysis with late-breaking reports. You can only replace it with a new one. I suggest you re-order your pipeline to run analysis after the Trivy scan.


1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.