From dd264128eafc843385fbba970d8f32a6691e70fa Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Tue, 26 Mar 2019 13:49:47 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_SIT_DHP_apk] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by §N¨ήS --- jobs/HRB_Mobile_SIT_DHP_apk/config.xml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/jobs/HRB_Mobile_SIT_DHP_apk/config.xml b/jobs/HRB_Mobile_SIT_DHP_apk/config.xml index f5ccaeb3..0881e39b 100644 --- a/jobs/HRB_Mobile_SIT_DHP_apk/config.xml +++ b/jobs/HRB_Mobile_SIT_DHP_apk/config.xml @@ -4,6 +4,14 @@ DHP 打包 APK,不做 code push false + + + -1 + 5 + -1 + -1 + + ylhealth @@ -26,16 +34,8 @@ hotfix/1.43.1 - - - -1 - 5 - -1 - -1 - - - + 2 @@ -70,12 +70,12 @@ MODIFIED_DATE=$(git log -1 --format="%ci" --) npm install --update-binary -sed -i "" '/url/s/http.*\//http:\/\/10.32.86.124\//g' src/configs/index.js +sed -i '' "/url/s/http.*\//http:\/\/${API_SERVER}\//g" src/configs/index.js sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" src/configs/index.js sed -i '' "/modifiedTime/s/\'.*\';/\'${MODIFIED_DATE}\';/" src/configs/index.js sed -i '' "/defaultLanguageCode/s/\'.*\';/\'en_US\';/" src/configs/index.js sed -i '' "/unitStandard/s/\'.*\';/\'USCU\';/" src/configs/index.js -sed -i '' "/allergyUrl/s/\__DEV__.*\';/\'http:\/\/10.32.86.124\/\';/" src/configs/index.js +sed -i '' "/allergyUrl/s/\__DEV__.*\';/\'http:\/\/${API_SERVER}\/\';/" src/configs/index.js sed -i '' 's/appVersion.*/appVersion": "1.27"/' appConfig.json export ANDROID_HOME=/Users/jenkins/Library/Android/sdk @@ -106,9 +106,9 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/dhp/ false - + + xterm - \ No newline at end of file -- 2.26.2