From f37d4d226bf489237541cd0002c55bd6548d5bbd Mon Sep 17 00:00:00 2001 From: andyque Date: Fri, 3 Jul 2015 15:18:33 +0800 Subject: [PATCH] fix templates daily build issue --- tools/jenkins-scripts/daily-build.py | 4 ++++ tools/jenkins-scripts/templates-daily-build.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/tools/jenkins-scripts/daily-build.py b/tools/jenkins-scripts/daily-build.py index 8094571789..e8a7bc271d 100644 --- a/tools/jenkins-scripts/daily-build.py +++ b/tools/jenkins-scripts/daily-build.py @@ -108,6 +108,10 @@ def main(): # os.system("git clean -xdf -f") # else: # print "local build, no need to cleanup" + #remove stats module + os.system("cd " + workspace) + os.system("rm tools/cocos2d-console/bin/cocos_stat.py") + os.system("rm tools/cocos2d-console/bin/cocos_stat.pyc") return(exit_code) diff --git a/tools/jenkins-scripts/templates-daily-build.py b/tools/jenkins-scripts/templates-daily-build.py index 6a89f3cf7d..0b966595df 100644 --- a/tools/jenkins-scripts/templates-daily-build.py +++ b/tools/jenkins-scripts/templates-daily-build.py @@ -80,6 +80,8 @@ def build_templates(mode, templates, is_runtime): if node_name == "windows-universal": #run wp8.1 and windows 8.1 + if is_runtime and type == "lua": + continue wp_ret = os.system("cocos compile -p wp8_1 " + build_mode_args + " -s " + test_project_prefix + type + " --compile-script 0") winrt_ret = os.system("cocos compile -p metro " + build_mode_args + " -s " + test_project_prefix + type + " --compile-script 0") ret += wp_ret