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

16 lines
397 B
Python
Executable File

import os
import sys
import traceback
# -------------- main --------------
if __name__ == '__main__':
sys_ret = 0
try:
jenkins_script_path = "tools" + os.sep + "jenkins-scripts" + os.sep + "do-pull-request-builder.py"
sys_ret = os.system("python " + jenkins_script_path)
except:
traceback.print_exc()
sys_ret = 1
finally:
sys.exit(sys_ret)