From bbfe3e7364419872cac669f4e4a45f17c4c7cd03 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Fri, 10 Jan 2020 10:06:43 +0800 Subject: [PATCH] scott: Job [HRB_Mobile_Prod_PlayStore] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ·¨¼y°ó --- jobs/HRB_Mobile_Prod_PlayStore/config.xml | 111 ++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 jobs/HRB_Mobile_Prod_PlayStore/config.xml diff --git a/jobs/HRB_Mobile_Prod_PlayStore/config.xml b/jobs/HRB_Mobile_Prod_PlayStore/config.xml new file mode 100644 index 00000000..e70c8445 --- /dev/null +++ b/jobs/HRB_Mobile_Prod_PlayStore/config.xml @@ -0,0 +1,111 @@ + + + + 打包 APK,不做 code push + false + + + ylhealth + + + + + HRB_Mobile_Prod_Branch + UAT 使用的版本,如: +release/1.15GA +hotfix/1.14.1GA + master + false + + + CODE_PUSH + 哪一個 Job 執行 code-push + hrb + false + + + + + + -1 + 10 + -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 + + false + + + sh jenkins_android_prod.sh ${CODE_PUSH} + +#PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/" +#export VERSION=$(grep appVersion appConfig.json|cut -d'"' -f4)_$(git rev-parse --short HEAD) +#MODIFIED_DATE=$(git log -1 --format="%ci" --) + +#npm install +## RNFB_ANDROID_PERMISSIONS=true react-native link + +#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 +#sed -i '' 's/piwikSiteId_ios =.*/piwikSiteId_ios = 10;/ ;s/piwikSiteId_android =.*/piwikSiteId_android = 11;/' src/configs/index.js + +#export ANDROID_HOME=/Users/jenkins/Library/Android/sdk + +# node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ./android --entry-file index.thread.js --platform android --bundle-output ./android/app/src/main/assets/threads/index.thread.bundle --sourcemap-output ./android/app/src/main/assets/threads/index.thread.map +#npm run build-thread-android + +#bundle exec fastlane android release + +#VERSION=Prod_$(date +%Y%m%d)_$(git rev-parse --short HEAD) +#MODIFIED_DATE=$(git log -1 --format="%ci" --) +#NAME=HRB_Mobile + +#mv android/app/build/outputs/apk/release/app-release.apk ~/Sites/${NAME}_${VERSION}.apk +#scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/ + + + + + $RD_Group $QA_Group + false + false + + + + + false + + + false + + + xterm + + + + \ No newline at end of file -- 2.26.2