diff --git a/jobs/Deploy_Hi365_Android_SIT/config.xml b/jobs/Deploy_Hi365_Android_SIT/config.xml index 0a74376e153636cee3374520a995c7b6979b31a6..2e2a65df1c6db0937c496e1ff8f87f0bb90a3f64 100644 --- a/jobs/Deploy_Hi365_Android_SIT/config.xml +++ b/jobs/Deploy_Hi365_Android_SIT/config.xml @@ -15,14 +15,6 @@ hudson.model.Item.Read:longmengua hudson.model.Item.Workspace:longmengua - - - -1 - 5 - -1 - -1 - - ylhealth @@ -36,6 +28,14 @@ + + + -1 + 5 + -1 + -1 + + 2 @@ -73,10 +73,6 @@ git_short_hash=$(git rev-parse --short HEAD) version_number=$Version_Number -# determine build type -build_type="debug" -default_doc="main_sit.dart" - output_path="${project_path}/build/app/outputs/apk/${build_type}" new_apk_name="Hi365_SIT_${current_date}_${version_number}_${git_short_hash}.apk" @@ -84,7 +80,7 @@ new_apk_name="Hi365_SIT_${current_date}_${version_number}_${git_short_hash} apk_path="${output_path}/${new_apk_name}" # build command -flutter build apk --${build_type} -t lib/${default_doc} +flutter build apk --debug -t lib/main_sit.dart # rename apk name mv ${output_path}/app-${build_type}.apk ${apk_path}