axmol/tools/jenkins-scripts/configs/autotest.py

11 lines
258 B
Python
Raw Normal View History

import os
os.system('git checkout develop')
os.system('git pull origin develop')
print('in building, run autotest.py.')
ret = os.system('python -u tools/jenkins-scripts/autotest.py')
os.system('git reset --hard')
print ret
if(ret > 0):
ret = 1
exit(ret)