diff --git a/jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml b/jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..c8fa85fa1be04a73bc08dfb5b83404b6858b7d98 --- /dev/null +++ b/jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml @@ -0,0 +1,78 @@ + + + + + false + + + ylhealth + + + + 3 + -1 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/CRM_Mobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */develop + + + false + + + + Mac_Node + false + false + false + false + + + 0 8,13,17 * * * + + + 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 +npm 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" --) + +sed -i '' "/url/s/\'.*\';/\'https:\/\/chm.foxconn.com\/CRM\/\';/" app/configs/constant/urls.js +sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" app/configs/constant/urls.js +sed -i '' "/modifiedTime/s/\'.*\';/\'${MODIFIED_DATE}\';/" app/configs/constant/urls.js + +code-push release-react CRM_Mobile_ios ios -m -d Staging + + + + + $RD_Group $QA_Group + false + false + + + + + false + + + + + \ No newline at end of file