From afd10f9075c9f37db81c9ebdf9b8c7dc74b27018 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Thu, 12 Sep 2019 12:17:35 +0800 Subject: [PATCH] 20180083: Job [Hi365_SIT_Deploy_Android] hierarchy renamed from [Hi365_Android] to [Hi365_SIT_Deploy_Android] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ยงรตยบ~? --- config.xml | 2 +- jobs/Hi365_Android/config.xml | 94 ----------------------------------- 2 files changed, 1 insertion(+), 95 deletions(-) delete mode 100644 jobs/Hi365_Android/config.xml diff --git a/config.xml b/config.xml index 03dc7ffd..a3b657af 100644 --- a/config.xml +++ b/config.xml @@ -899,8 +899,8 @@ Deploy_Hi365_OAuth_Authorization_Develop Deploy_Hi365_OAuth_Client_Develop Deploy_Hi365_OAuth_Resource_Develop - Hi365_Android Hi365_iOS + Hi365_SIT_Deploy_Android diff --git a/jobs/Hi365_Android/config.xml b/jobs/Hi365_Android/config.xml deleted file mode 100644 index e6e3b81b..00000000 --- a/jobs/Hi365_Android/config.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - - Hi365 APK Packager - false - - - ylhealth - - - - - BUILD_BRANCH - APK build env - - - develop - master - - - - - - - - 2 - - - https://cm.ylhealth.org/gitlab/YongYue/hi365-app.git - 3485e854-8389-40e8-8c86-b94e94e91904 - - - - - */${BUILD_BRANCH} - - - false - - - - Mac_Node1 - false - false - false - false - - false - - - project_path=$(pwd) - -app_version=$(grep 'version:' ${project_path}/pubspec.yaml | cut -d ' ' -f2) - -current_date=$(date +"%Y%m%d") - -git_short_hash=$(git rev-parse --short HEAD) - -# determine build type by git branch -if [ $BUILD_BRANCH == "master" ] -then - build_type="release" -else - build_type="debug" -fi - -output_path="${project_path}/build/app/outputs/apk/${build_type}" - -new_apk_name="Hi365_SIT_${current_date}_${git_short_hash}.apk" - -apk_path="${output_path}/${new_apk_name}" - - -flutter build apk --${build_type} - -# rename apk name -mv ${output_path}/app-${build_type}.apk ${apk_path} - -# deploy -echo "Deploy to APK repository" -scp -i ~/jenkins/jenkins ${apk_path} appuploader@10.57.117.135:~/app/Hi365/${new_apk_name} - - - - - - - false - - - false - - - \ No newline at end of file -- 2.26.2