mirror of https://github.com/axmolengine/axmol.git
[Jenkins] make build fail when submodule update fail
This commit is contained in:
parent
36cfd17e7b
commit
716f480eb4
|
@ -94,7 +94,9 @@ def main():
|
|||
|
||||
#update submodule
|
||||
git_update_submodule = "git submodule update --init --force"
|
||||
os.system(git_update_submodule)
|
||||
ret = os.system(git_update_submodule)
|
||||
if(ret != 0):
|
||||
return(1)
|
||||
|
||||
# Generate binding glue codes
|
||||
os.system("python tools/jenkins-scripts/gen_jsb.py")
|
||||
|
|
Loading…
Reference in New Issue