Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jenkins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ym
jenkins
Commits
f769a459
Commit
f769a459
authored
Dec 05, 2018
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [Mobile_UAT_DHP_apk] configuration updated
Change performed by §N¨ήS
parent
7e6fac44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
jobs/Mobile_UAT_DHP_apk/config.xml
jobs/Mobile_UAT_DHP_apk/config.xml
+8
-9
No files found.
jobs/Mobile_UAT_DHP_apk/config.xml
View file @
f769a459
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>
打包 APK,不做 code push

<description>
DHP
打包 APK,不做 code push

</description>
<keepDependencies>
false
</keepDependencies>
<properties>
...
...
@@ -15,7 +15,7 @@
<description>
UAT 使用的版本,如:
release/1.15GA
hotfix/1.14.1GA
</description>
<defaultValue>
release/1.4
3
</defaultValue>
<defaultValue>
release/1.4
5
</defaultValue>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
...
...
@@ -56,25 +56,24 @@ hotfix/1.14.1GA</description>
<builders>
<hudson.tasks.Shell>
<command>
PATH=
"
$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/
"
VERSION=UAT_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
VERSION=UAT_
DHP_
$(date +%Y%m%d)_$(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.*\//http
:\/\/10.32.86.139
\//g
'
src/configs/index.js
sed -i
""
'
/url/s/http.*\//http
s:\/\/dihtest.uhealthbank.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
''
"
/allergyUrl/s/\__DEV__.*\
'
;/\
'
http
:\/\/10.32.86.132
\/\
'
;/
"
src/configs/index.js
sed -i
''
"
/allergyUrl/s/\__DEV__.*\
'
;/\
'
http
s:\/\/dihtest.uhealthbank.com
\/\
'
;/
"
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.worker.js --platform android --bundle-output ./android/app/src/main/assets/index.worker.bundle --sourcemap-output ./android/app/src/main/assets/index.worker.map
npm run build-thread-android
bundle exec fastlane android uat
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>
VERSION=UAT_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
<command>
VERSION=UAT_
DHP_
$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
NAME=HRB_Mobile
...
...
@@ -88,7 +87,7 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/</command
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
<configs>
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
<properties>
NotifyMessage=Deploy HRB Mobile apk on UAT done.
</properties>
<properties>
NotifyMessage=Deploy HRB Mobile apk on UAT
DHP
done.
</properties>
<textParamValueOnNewLine>
false
</textParamValueOnNewLine>
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
</configs>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment