Fail the build if xbuild fails

Sergej Kostjucenko requested to merge aj-build-failure into master

Created by: ascjones

Previously if the xbuild failed it would continue to the optimization step, which would of course fail too because of the missing artifact.

This PR fails the whole build with an error if the xbuild step fails.

Merge request reports