Commit 167be68c authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

scott: Job [HRB_Mobile_Other_ipa] configuration updated

Change performed by ·¨¼y°ó
parent 90825bb4
...@@ -92,10 +92,12 @@ commitId ...@@ -92,10 +92,12 @@ commitId
VERSION=SIT_${DownloadName}_$(date +%Y%m%d) VERSION=SIT_${DownloadName}_$(date +%Y%m%d)
MODIFIED_DATE=$(git log -1 --format="%ci" --) MODIFIED_DATE=$(git log -1 --format="%ci" --)
gem install bundler
# npm install --update-binary # npm install --update-binary
rm -rf ios/Podfile.lock rm -rf ios/Podfile.lock
rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/metro-* && rm -rf $TMPDIR/haste-* && watchman watch-del-all && npm cache clean --force && npm cache verify && rm -rf ios/build && rm -rf node_modules/ && npm i rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/metro-* && rm -rf $TMPDIR/haste-* && watchman watch-del-all && npm cache clean --force && npm cache verify && rm -rf ios/build && rm -rf node_modules/ && npm i
cd ios/ && gem install cocoapods && pod install && cd ../ cd ios/ && bundle exec pod install && cd ../
sed -i '' "/url/s/http.*\//${HTT_PROTOCOL}:\/\/${API_SERVER}\//g" src/configs/index.js 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 '' "/version/s/\'.*\';/\'${VERSION}\';/" src/configs/index.js
...@@ -106,7 +108,6 @@ sed -i '' 's/appVersion.*/appVersion": "1.27"/&apo ...@@ -106,7 +108,6 @@ sed -i '' 's/appVersion.*/appVersion": "1.27"/&apo
# RN0.57.8 modify(HA-1058), after RN0.58 will remove this command # 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 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 # 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 bundle-worker-ios
...@@ -117,7 +118,6 @@ npm run build-thread-ios ...@@ -117,7 +118,6 @@ npm run build-thread-ios
##echo "gem 'fastlane', '2.107.0'" >> Gemfile ##echo "gem 'fastlane', '2.107.0'" >> Gemfile
#bundle update #bundle update
#bundle install #bundle install
gem install bundler
bundle exec fastlane ios beta bundle exec fastlane ios beta
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment