diff --git a/jobs/HRB_Mobile_Prod_JV_ipa/config.xml b/jobs/HRB_Mobile_Prod_JV_ipa/config.xml index 9130de1c603491aa2ad6ccfcaa759642cc407140..bf18ecba2146949a8c4d89864e56063abb9b7e35 100644 --- a/jobs/HRB_Mobile_Prod_JV_ipa/config.xml +++ b/jobs/HRB_Mobile_Prod_JV_ipa/config.xml @@ -14,7 +14,13 @@ UAT 使用的版本,如: release/1.15GA hotfix/1.14.1GA - DHP/master + JV/master + false + + + CODE_PUSH + 哪一個 Job 執行 code-push + jv false @@ -45,7 +51,7 @@ hotfix/1.14.1GA - MAC_BUILD_Machine + IPA_BUILD_Machine false false false @@ -54,28 +60,22 @@ 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=$(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:\/\/dhp.h2uclub.com\//g' src/configs/index.js -sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" 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 '' "/modifiedTime/s/\'.*\';/\'${MODIFIED_DATE}\';/" src/configs/index.js -sed -i '' 's/piwikSiteId_ios =.*/piwikSiteId_ios = 13;/ ;s/piwikSiteId_android =.*/piwikSiteId_android = 12;/' 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 release + sh jenkins_ios_prod.sh ${CODE_PUSH} + + + + + + + HRB_Mobile_Prod_ipa_CodePush + ALWAYS + false + false + false + + +