diff --git a/config.xml b/config.xml index 530a552ecd173888a3ea3e95bddd90a090116eab..d15b8f1db8e6b4c6e6356969e687b2e45b662a65 100644 --- a/config.xml +++ b/config.xml @@ -591,6 +591,7 @@ Build_UAT_HRB_App Build_UAT_JV_HRB_App HRB_Mobile_UAT_JV_apk + HRB_Mobile_UAT_JV_ipa diff --git a/jobs/HRB_Mobile_UAT_JV_ipa/config.xml b/jobs/HRB_Mobile_UAT_JV_ipa/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..b61cbd63a0cdf802c0c43d91689445bc22439f3a --- /dev/null +++ b/jobs/HRB_Mobile_UAT_JV_ipa/config.xml @@ -0,0 +1,123 @@ + + + + DHP 打包 ipa,不做 code push + false + + + ylhealth + + + + + HRB_Mobile_UAT_Branch + UAT 使用的版本,如: +release/1.15GA +hotfix/1.14.1GA + DHP_master + false + + + + + + -1 + 5 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/HRB_Mobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */${HRB_Mobile_UAT_Branch} + + + false + + + + MAC_BUILD_Machine + false + false + false + false + + 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 ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/dhp/ + + + + + + + + + NotifyMessage=Deploy HRB Mobile ipa on UAT DHP done. + false + + + Notify_Group + SUCCESS + false + false + + + + + $RD_Group $QA_Group + false + true + + + + + false + + + false + + + xterm + + + + \ No newline at end of file