axmol/tools/jenkins-scripts/pull-request-builder.py

16 lines
397 B
Python
Raw Normal View History

import os
2014-01-02 10:19:48 +08:00
import sys
2014-01-02 17:09:49 +08:00
import traceback
# -------------- main --------------
if __name__ == '__main__':
2014-01-06 20:58:00 +08:00
sys_ret = 0
2014-10-14 17:31:53 +08:00
try:
jenkins_script_path = "tools" + os.sep + "jenkins-scripts" + os.sep + "do-pull-request-builder.py"
2015-04-13 16:11:09 +08:00
sys_ret = os.system("python " + jenkins_script_path)
2014-01-02 17:09:49 +08:00
except:
traceback.print_exc()
2014-01-06 20:58:00 +08:00
sys_ret = 1
finally:
sys.exit(sys_ret)