diff --git a/jobs/HRB_Mobile_Other_ipa/config.xml b/jobs/HRB_Mobile_Other_ipa/config.xml
index cc8686385c9e9146d86719b7763b6a9d143d7614..a0e19ecee5308094ec76d7af2316fa21f30581f6 100644
--- a/jobs/HRB_Mobile_Other_ipa/config.xml
+++ b/jobs/HRB_Mobile_Other_ipa/config.xml
@@ -23,7 +23,7 @@ echo "gem 'fastlane', '2.113.0'" >> Gemfile&
- HRB_Mobile_Other_Branch
+ GIT_BRANCH
feature branch使用的版本,如:
feature/HA-818
其他Branch請自行設定
@@ -51,6 +51,12 @@ commitId
http
false
+
+ CODE_PUSH
+ 哪一個 Job 執行 code-push
+ other
+ false
+
@@ -72,7 +78,7 @@ commitId
- */${HRB_Mobile_Other_Branch}
+ */${GIT_BRANCH}
false
@@ -88,38 +94,22 @@ commitId
false
- sh jenkins_ios.sh SIT_${DownloadName}
-
-sed -i '' "/url/s/http.*\//${HTT_PROTOCOL}:\/\/${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__.*\';/\'${HTT_PROTOCOL}:\/\/${API_SERVER}\/\';/" src/configs/index.js
-sed -i '' 's/appVersion.*/appVersion": "1.27"/' appConfig.json
-
-# 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
-
-# security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private
-##npm run bundle-worker-ios
-
-npm run build-thread-ios
-
-##echo "source 'https://rubygems.org'" > Gemfile
-##echo "gem 'cocoapods', '1.4.0'" >> Gemfile
-##echo "gem 'fastlane', '2.107.0'" >> Gemfile
-#bundle update
-#bundle install
-bundle exec fastlane ios beta
-
-
-
- VERSION=SIT_${DownloadName}_$(date +%Y%m%d)
-MODIFIED_DATE=$(git log -1 --format="%ci" --)
-NAME=HRB_Mobile
-
-mv ~/jenkins/workspace/HRB_Mobile_Other_ipa/$NAME.ipa ~/Sites/${NAME}_${VERSION}.ipa
-scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/
+ sh jenkins_ios_sit.sh ${CODE_PUSH}
+
+
+
+
+
+
+ HRB_Mobile_SIT_ipa_CodePush
+ ALWAYS
+ false
+ false
+ false
+
+
+