Skip to content

Improve error message when job is missing an artifact

Stan Hu requested to merge sh-improve-artifact-missing-error into master

What does this MR do and why?

In https://gitlab.com/gitlab-org/gitlab/-/pipelines/1205422081, we saw the error "Unable to create pipeline" with the message "Job does not have artifact". The pipeline depends on 4 jobs, and it's not clear which one is the problem. Improve this by adding the job name and ID to the error messages.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Not sure how to cause this problem in the first place.

Edited by Stan Hu

Merge request reports