diff --git a/jobs/HRB_Mobile_PT_ipa/config.xml b/jobs/HRB_Mobile_PT_ipa/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..8a9b93a845183736994ff2d34f63be09b575f2c2 --- /dev/null +++ b/jobs/HRB_Mobile_PT_ipa/config.xml @@ -0,0 +1,94 @@ + + + + 上架測試 (Testflight) + false + + + ylhealth + + + + + HRB_Mobile_PT_Branch + UAT 使用的版本,如: +release/1.15GA +hotfix/1.14.1GA + hotfix/1.27.2GA + false + + + + + + 2 + 5 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/HRB_Mobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */${HRB_Mobile_PT_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=$(grep appVersion appConfig.json|cut -d'"' -f4)_$(git rev-parse --short HEAD) +MODIFIED_DATE=$(git log -1 --format="%ci" --) + +npm install +# RNFB_ANDROID_PERMISSIONS=true react-native link + +sed -i "" '/url/s/http.*\//https:\/\/hrb.foxconn.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 '' 's/piwikSiteId_ios =.*/piwikSiteId_ios = 10;/ ;s/piwikSiteId_android =.*/piwikSiteId_android = 11;/' src/configs/index.js + +node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ./ios --entry-file index.worker.js --platform ios --bundle-output ./ios/worker.jsbundle --sourcemap-output ./ios/ios.worker.map + +fastlane ios pt + + + + + $RD_Group $QA_Group + false + false + + + + + false + + + false + + + xterm + + + + \ No newline at end of file