diff --git a/jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml b/jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml index 53bf39d17f53e4f7060fe8c63c1f43933c07e297..5f68101c45e470ae19f1056e8f4ebf45260f84ea 100644 --- a/jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml +++ b/jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml @@ -61,21 +61,7 @@ hotfix/1.47.1 false - PATH="$PATH:$HOME/.rvm/bin:/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 - -# 加速打包,正式時還是要包 -GYM_INCLUDE_SYMBOLS=false -GYM_INCLUDE_BITCODE=false - -gem install bundler -bundler install - -yarn install -#RNFB_ANDROID_PERMISSIONS=true react-native link - -VERSION=SIT_$(date +%Y%m%d%H)_$(git rev-parse --short HEAD) -MODIFIED_DATE=$(git log -1 --format="%ci" --) + sh jenkins_ios.sh SIT sed -i '' "/url/s/\'.*\';/\'http:\/\/${API_SERVER}\/CRM\/\';/" app/configs/constant/urls.js sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" app/configs/constant/urls.js