[Jenkins] make build fail when submodule update fail
Merge pull request #5850 from lmskater/fix-submodule-update-fail

[Jenkins] make build fail when submodule update fail