From 8ac1545686342981bdf94c1a959bbe5a24bb4738 Mon Sep 17 00:00:00 2001 From: shujunqiao Date: Mon, 28 Apr 2014 16:55:21 +0800 Subject: [PATCH] [ci skip], modify android apk name in cocos-console-test.py. --- tools/jenkins-scripts/cocos-console-test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/jenkins-scripts/cocos-console-test.py b/tools/jenkins-scripts/cocos-console-test.py index 7e8d7e0b28..dc0dbf02ae 100755 --- a/tools/jenkins-scripts/cocos-console-test.py +++ b/tools/jenkins-scripts/cocos-console-test.py @@ -310,6 +310,10 @@ APP_FILE_SUFFIX = { 'ios':'.app', 'android':'-debug-unaligned.apk' } +if os.environ.has_key('APP_FILE_SUFFIX'): + str_app_suffix = os.environ['APP_FILE_SUFFIX'] + APP_FILE_SUFFIX = eval(str_app_suffix) + def getPackageSize(): for proj in project_types: for phone in phonePlats: