Extra Build: Check build result before skipping LAVA submit

Build result needs to be checked first so that error could be thrown
to notify Jenkins about the failure.

Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I99cdd982a8f56570a75c2d89242e3aa163696170
1 file changed