From 62c6e6253d8b00ca233b029848d144b6d5525945 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Mon, 28 Jan 2019 09:26:01 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_SIT_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_apk/config.xml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/jobs/HRB_Mobile_SIT_apk/config.xml b/jobs/HRB_Mobile_SIT_apk/config.xml index bfab0d7e..3c7e0f5f 100644 --- a/jobs/HRB_Mobile_SIT_apk/config.xml +++ b/jobs/HRB_Mobile_SIT_apk/config.xml @@ -15,6 +15,25 @@ ylhealth + + + + GIT_BRANCH + develop +feature/I18N +release/1.47 +hotfix/1.47.1 + develop + false + + + API_SERVER + + 10.32.86.124 + false + + + 2 @@ -26,7 +45,7 @@ - */develop + */${GIT_BRANCH} false @@ -48,10 +67,10 @@ 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 '' "/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 -- 2.26.2