From bfe32f81a36a01e89ef680d10bf280980ee358f3 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Thu, 13 Jun 2019 23:08:48 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_Prod_Expert_apk] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by §N¨ήS --- jobs/HRB_Mobile_Prod_Expert_apk/config.xml | 52 +++------------------- 1 file changed, 6 insertions(+), 46 deletions(-) diff --git a/jobs/HRB_Mobile_Prod_Expert_apk/config.xml b/jobs/HRB_Mobile_Prod_Expert_apk/config.xml index d736bd17..beb5c36f 100644 --- a/jobs/HRB_Mobile_Prod_Expert_apk/config.xml +++ b/jobs/HRB_Mobile_Prod_Expert_apk/config.xml @@ -12,15 +12,15 @@ HRB_Mobile_Prod_Branch UAT 使用的版本,如: -release/1.15GA -hotfix/1.14.1GA - master +Expert/release/1.15GA +Expert/hotfix/1.14.1GA + Expert/master false CODE_PUSH 哪一個 Job 執行 code-push - hrb + expert false @@ -51,7 +51,7 @@ hotfix/1.14.1GA - Mac_Node + MAC_BUILD_Machine false false false @@ -60,48 +60,8 @@ hotfix/1.14.1GA 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/ + sh jenkins_android_prod.sh ${CODE_PUSH} - - - - - - - HRB_Mobile_Prod_apk_CodePush - ALWAYS - false - false - false - - - -- 2.26.2