From 43a79df4ad9250268b7b872db369f47d6ddeb32a Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Tue, 4 Jun 2019 14:13:09 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_UAT_apk_CodePush] 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_UAT_apk_CodePush/config.xml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/jobs/HRB_Mobile_UAT_apk_CodePush/config.xml b/jobs/HRB_Mobile_UAT_apk_CodePush/config.xml index a2be8f13..a51e02d0 100644 --- a/jobs/HRB_Mobile_UAT_apk_CodePush/config.xml +++ b/jobs/HRB_Mobile_UAT_apk_CodePush/config.xml @@ -5,7 +5,7 @@ false - + ylhealth @@ -29,7 +29,7 @@ hotfix/1.14.1GA - + 2 @@ -55,17 +55,16 @@ hotfix/1.14.1GA false - PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/" -VERSION=UAT_$(date +%Y%m%d)_$(git rev-parse --short HEAD) -MODIFIED_DATE=$(git log -1 --format="%ci" --) + sh jenkins_android.sh UAT -npm install - -sed -i "" '/url/s/http.*\//http:\/\/10.32.86.139\//g' src/configs/index.js +sed -i "" '/url/s/http.*\//https:\/\/uat.my.uhealthbank.com\//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__.*url;/\'https:\/\/uat.my.uhealthbank.com\/\';/" src/configs/index.js + +export ANDROID_HOME=/Users/jenkins/Library/Android/sdk -code-push release-react HRB_Mobile_android android -m -d UAT +appcenter codepush release-react -a h2uclub/HRB_Mobile_android -m -d UAT -- 2.26.2