diff --git a/jobs/HRB_Mobile_SIT_ipa_CodePush/config.xml b/jobs/HRB_Mobile_SIT_ipa_CodePush/config.xml
index 6a7f74b21218aba08b2abac6b446a3a31b9ef125..09e671d599edf33b9feda84ece986c8c1e4d6921 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