Use runBuildCommands, like all other builders, to raise a build-specific error when the command fails.