Option to fail build when artifact collection fails


A customer filed a ticket:

Our build shows that there was an error in the “collection artifacts” tasks, but the task came back green. Shouldnt this have produced an error? If not, is there an easy way for us to make it error out?

This is a feature request to optionally make builds error out when artifact collection fails.