diff --git a/jobs/HRB_Mobile_UAT_ipa_CodePush/config.xml b/jobs/HRB_Mobile_UAT_ipa_CodePush/config.xml index a9c371850db098fd8db582ee52838c62cb909156..2e7c8133e64e5fdb11271cdc8d8600dda4c0e6bf 100644 --- a/jobs/HRB_Mobile_UAT_ipa_CodePush/config.xml +++ b/jobs/HRB_Mobile_UAT_ipa_CodePush/config.xml @@ -6,15 +6,7 @@ */release/1.14GA false - - - -1 - 5 - -1 - -1 - - - + ylhealth @@ -29,8 +21,16 @@ hotfix/1.14.1GA + + + -1 + 5 + -1 + -1 + + - + 2 @@ -40,7 +40,7 @@ hotfix/1.14.1GA - */develop + */${HRB_Mobile_UAT_Branch} false @@ -56,19 +56,14 @@ hotfix/1.14.1GA false - PATH="$PATH:/usr/local/bin:/Users/scott/.fastlane/bin/" -security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private -VERSION=UAT_$(date +%Y%m%d)_$(git rev-parse --short HEAD) -MODIFIED_DATE=$(git log -1 --format="%ci" --) - -npm install -RNFB_ANDROID_PERMISSIONS=true react-native link + sh jenkins_ios.sh UAT -sed -i "" '/url/s/http.*\//http:\/\/10.32.86.139\//g' src/configs/index.js +sed -i "" '/url/s/http.*\//https:\/\/uat.my.uhealthbank.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 '' "/allergyUrl/s/__DEV__.*url;/\'https:\/\/uat.my.uhealthbank.com\/\';/" src/configs/index.js -code-push release-react HRB_Mobile_ios ios -m -d UAT +appcenter codepush release-react -a h2uclub/HRB_Mobile_ios -m -d UAT @@ -79,9 +74,9 @@ code-push release-react HRB_Mobile_ios ios -m -d UAT false - - + xterm + \ No newline at end of file