Merge pull request #12749 from zilongshanren/improve-template-dialy-build

[ci skip]fix scripts path error
This commit is contained in:
子龙山人 2015-07-09 10:18:13 +08:00
commit 60c10e3878
1 changed files with 7 additions and 7 deletions

View File

@ -71,20 +71,20 @@ def do_build_slaves():
if(branch == 'v3' or branch == 'v4-develop'): if(branch == 'v3' or branch == 'v4-develop'):
slave_build_scripts = "" slave_build_scripts = ""
if(node_name == 'android') or (node_name == 'android_bak'): if(node_name == 'android') or (node_name == 'android_bak'):
slave_build_scripts = jenkins_script_path + "android-build.sh" slave_build_scripts = jenkins_script_path + "android-build.sh "
elif(node_name == 'win32' or node_name == 'win32_win7' or node_name == 'win32_bak'): elif(node_name == 'win32' or node_name == 'win32_win7' or node_name == 'win32_bak'):
slave_build_scripts = jenkins_script_path + "win32-build.bat" slave_build_scripts = jenkins_script_path + "win32-build.bat "
elif(node_name == 'windows-universal' or node_name == 'windows-universal_bak'): elif(node_name == 'windows-universal' or node_name == 'windows-universal_bak'):
slave_build_scripts = jenkins_script_path + "windows-universal.bat" slave_build_scripts = jenkins_script_path + "windows-universal.bat "
elif(node_name == 'ios_mac' or node_name == 'ios' or node_name == 'ios_bak'): elif(node_name == 'ios_mac' or node_name == 'ios' or node_name == 'ios_bak'):
slave_build_scripts = jenkins_script_path + "ios-build.sh" slave_build_scripts = jenkins_script_path + "ios-build.sh "
elif(node_name == 'mac' or node_name == 'mac_bak'): elif(node_name == 'mac' or node_name == 'mac_bak'):
slave_build_scripts = jenkins_script_path + "mac-build.sh" slave_build_scripts = jenkins_script_path + "mac-build.sh "
elif(node_name == 'linux_centos' or node_name == 'linux' or node_name == 'linux_bak'): elif(node_name == 'linux_centos' or node_name == 'linux' or node_name == 'linux_bak'):
slave_build_scripts = jenkins_script_path + "linux-build.sh" slave_build_scripts = jenkins_script_path + "linux-build.sh "
elif(node_name == 'wp8'): elif(node_name == 'wp8'):
if(branch != 'v4'): if(branch != 'v4'):
slave_build_scripts = jenkins_script_path + "wp8-v3.bat" slave_build_scripts = jenkins_script_path + "wp8-v3.bat "
slave_build_scripts += language slave_build_scripts += language
ret = os.system(slave_build_scripts) ret = os.system(slave_build_scripts)