diff --git a/jobs/HRB_Mobile_UAT_DHP_ipa/config.xml b/jobs/HRB_Mobile_UAT_DHP_ipa/config.xml
index d46efb96de974876ebdef6ee84ee73da8bf51642..d0a4329438bb66cf3b1ae11cbcea4dcea13003c0 100644
--- a/jobs/HRB_Mobile_UAT_DHP_ipa/config.xml
+++ b/jobs/HRB_Mobile_UAT_DHP_ipa/config.xml
@@ -4,6 +4,14 @@
DHP 打包 ipa,不做 code push
false
+
+
+ -1
+ 5
+ -1
+ -1
+
+
ylhealth
@@ -17,18 +25,28 @@ hotfix/1.14.1GA
DHP/develop
false
+
+ HTT_PROTOCOL
+ http / https
+ https
+ false
+
+
+ API_SERVER
+ 連線位置
+ dihuat.uhealthbank.com
+ false
+
+
+ CODE_PUSH
+
+ dhp
+ false
+
-
-
- -1
- 5
- -1
- -1
-
-
-
+
2
@@ -54,35 +72,7 @@ hotfix/1.14.1GA
false
- PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/"
-security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private
-VERSION=UAT_DHP_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
-MODIFIED_DATE=$(git log -1 --format="%ci" --)
-
-npm install
-
-sed -i "" '/url/s/http.*\//https:\/\/dihtest.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 '' "/defaultLanguageCode/s/\'.*\';/\'en_US\';/" src/configs/index.js
-sed -i '' "/unitStandard/s/\'.*\';/\'USCU\';/" src/configs/index.js
-sed -i '' "/allergyUrl/s/__DEV__.*url;/\'http:\/\/10.32.86.124\/\';/" src/configs/index.js
-
-
-# RN0.57.8 modify(HA-1058), after RN0.58 will remove this command
-sed -i "" 's/NSUInteger loopCount = 0;/CGFloat loopCount = 0;/' node_modules/react-native/Libraries/Image/RCTGIFImageDecoder.m
-
-
-npm run build-thread-ios
-bundle exec fastlane ios uat
-
-
- VERSION=UAT_DHP_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
-MODIFIED_DATE=$(git log -1 --format="%ci" --)
-NAME=HRB_Mobile
-
-mv $NAME.ipa ~/Sites/${NAME}_${VERSION}.ipa
-scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/dhp/
+ sh jenkins_ios_uat.sh ${CODE_PUSH}
@@ -115,9 +105,9 @@ scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.13
false
+
xterm
-
\ No newline at end of file