From 2e2fb122e62b5a25b6ec701c53c5ae656576f9a6 Mon Sep 17 00:00:00 2001 From: andyque Date: Tue, 3 Mar 2015 18:35:43 +0800 Subject: [PATCH] fix v3 win32 build issue --- tools/jenkins-scripts/pull-request-builder.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/jenkins-scripts/pull-request-builder.py b/tools/jenkins-scripts/pull-request-builder.py index 10ec5a73b3..f6a6248704 100755 --- a/tools/jenkins-scripts/pull-request-builder.py +++ b/tools/jenkins-scripts/pull-request-builder.py @@ -267,7 +267,10 @@ def main(): close_db(db) elif(node_name == 'win32' or node_name == 'win32_win7' or node_name == 'win32_bak'): - ret = subprocess.call('"%VS120COMNTOOLS%..\IDE\devenv.com" "build\cocos2d-win32.vc2013.sln" /Build "Debug|Win32"', shell=True) + build_vs_project_name = 'cocos2d-win32.vc2013.sln' + if(branch == 'v3'): + build_vs_project_name = 'cocos2d-win32.vc2012.sln' + ret = subprocess.call('"%VS120COMNTOOLS%..\IDE\devenv.com" "build\"' + build_vs_project_name + ' /Build "Debug|Win32"', shell=True) elif(node_name == 'windows-universal' or node_name == 'windows-universal_bak'): ret = subprocess.call('"%VS120COMNTOOLS%..\IDE\devenv.com" "build\cocos2d-win8.1-universal.sln" /Build "Debug|Win32"', shell=True) elif(node_name == 'ios_mac' or node_name == 'ios' or node_name == 'ios_bak'):