From f54804505f2d666f4388903c9dfe8bfc0da77770 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Mon, 3 Jun 2019 17:43:04 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_SIT_ipa_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_SIT_ipa_CodePush/config.xml | 34 +++++++++++++++------ 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/jobs/HRB_Mobile_SIT_ipa_CodePush/config.xml b/jobs/HRB_Mobile_SIT_ipa_CodePush/config.xml index 6a7f74b2..09e671d5 100644 --- a/jobs/HRB_Mobile_SIT_ipa_CodePush/config.xml +++ b/jobs/HRB_Mobile_SIT_ipa_CodePush/config.xml @@ -8,6 +8,25 @@ ylhealth + + + + GIT_BRANCH + develop +feature/I18N +release/1.47 +hotfix/1.47.1 + develop + false + + + API_SERVER + 連線位置 + 10.32.86.124 + false + + + -1 @@ -27,7 +46,7 @@ - */develop + */${GIT_BRANCH} false @@ -43,18 +62,15 @@ false - PATH="$PATH:/usr/local/bin:/Users/scott/.fastlane/bin/" -security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private -VERSION=SIT_$(date +%Y%m%d)_$(git rev-parse --short HEAD) -MODIFIED_DATE=$(git log -1 --format="%ci" --) + sh jenkins_ios.sh SIT -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:\/\/${API_SERVER}\/\';/" src/configs/index.js +sed -i '' 's/appVersion.*/appVersion": "1.27"/' appConfig.json -code-push release-react HRB_Mobile_ios ios -m -d Staging +appcenter codepush release-react -a h2uclub/HRB_Mobile_ios -m -d Staging -- 2.26.2