Skip to content

Draft: Increase QA dependency scanning verbosity output

Oscar Tovar requested to merge improve-ds-qa-debugging into master

What does this MR do?

This MR adds error handling to the qa dependency scanning job so that it fails fast and with a verbose error message. It does two things:

  1. Fails early if curl receives a non 200 response and prints out the response.
  2. Fails early if a report was not found for the previous job. This will happen if the previous dependency scanning job failed to produce a report.

What are the relevant issue numbers?

Dependency Scanning QA jobs fail to read report (gitlab-org/gitlab#385214 - closed)

Does this MR meet the acceptance criteria?

Merge request reports