diff --git a/jobs/HRB_Mobile_Prod_ipa_CodePush/config.xml b/jobs/HRB_Mobile_Prod_ipa_CodePush/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..d4520ab5573471d8d2fcee855957816dd41f2d74 --- /dev/null +++ b/jobs/HRB_Mobile_Prod_ipa_CodePush/config.xml @@ -0,0 +1,94 @@ + + + + 只做 Code Push,不打包 ipa + false + + + ylhealth + + + + + HRB_Mobile_Prod_Branch + UAT 使用的版本,如: +release/1.15GA +hotfix/1.14.1GA + release/1.27.1GA + false + + + + + + -1 + 5 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/HRB_Mobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */${HRB_Mobile_Prod_Branch} + + + false + + + + MAC_BUILD_Machine + false + false + false + false + + + + HRB_Mobile_Prod_ipa + + SUCCESS + 0 + BLUE + true + + + + false + + + PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/" +VERSION=Prod_$(date +%Y%m%d)_$(git rev-parse --short HEAD) +MODIFIED_DATE=$(git log -1 --format="%ci" --) + +npm install + +sed -i "" '/url/s/http.*\//https:\/\/hrb.foxconn.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 + +code-push release-react HRB_Mobile_ios ios -m -d Production + + + + + + false + + + false + + + xterm + + + + \ No newline at end of file