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
2625b46c
Commit
2625b46c
authored
May 02, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [HRB_Mobile_UAT_JV_apk] configuration updated
Change performed by §N¨ήS
parent
bd82e092
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
jobs/HRB_Mobile_UAT_JV_apk/config.xml
jobs/HRB_Mobile_UAT_JV_apk/config.xml
+6
-6
No files found.
jobs/HRB_Mobile_UAT_JV_apk/config.xml
View file @
2625b46c
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<description>
UAT 使用的版本,如:
<description>
UAT 使用的版本,如:
release/1.15GA
release/1.15GA
hotfix/1.14.1GA
</description>
hotfix/1.14.1GA
</description>
<defaultValue>
DHP
_master
</defaultValue>
<defaultValue>
DHP
/release/1.53
</defaultValue>
<trim>
false
</trim>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
</parameterDefinitions>
...
@@ -62,12 +62,12 @@ MODIFIED_DATE=$(git log -1 --format="%ci" --)
...
@@ -62,12 +62,12 @@ MODIFIED_DATE=$(git log -1 --format="%ci" --)
npm install
npm install
# RNFB_ANDROID_PERMISSIONS=true react-native link
# RNFB_ANDROID_PERMISSIONS=true react-native link
sed -i
""
'
/url/s/http.*\//https:\/\/
dih
test.uhealthbank.com\//g
'
src/configs/index.js
sed -i
""
'
/url/s/http.*\//https:\/\/
jv
test.uhealthbank.com\//g
'
src/configs/index.js
sed -i
''
"
/version/s/\
'
.*\
'
;/\
'
${VERSION}\
'
;/
"
src/configs/index.js
sed -i
''
"
/version/s/\
'
.*\
'
;/\
'
${VERSION}\
'
;/
"
src/configs/index.js
sed -i
''
"
/defaultLanguageCode/s/\
'
.*\
'
;/\
'
en_US\
'
;/
"
src/configs/index.js
sed -i
''
"
/defaultLanguageCode/s/\
'
.*\
'
;/\
'
en_US\
'
;/
"
src/configs/index.js
sed -i
''
"
/unitStandard/s/\
'
.*\
'
;/\
'
USCU\
'
;/
"
src/configs/index.js
sed -i
''
"
/unitStandard/s/\
'
.*\
'
;/\
'
USCU\
'
;/
"
src/configs/index.js
sed -i
''
"
/modifiedTime/s/\
'
.*\
'
;/\
'
${MODIFIED_DATE}\
'
;/
"
src/configs/index.js
sed -i
''
"
/modifiedTime/s/\
'
.*\
'
;/\
'
${MODIFIED_DATE}\
'
;/
"
src/configs/index.js
sed -i
''
"
/allergyUrl/s/__DEV__.*url;/\
'
http
:\/\/10.32.86.124
\/\
'
;/
"
src/configs/index.js
sed -i
''
"
/allergyUrl/s/__DEV__.*url;/\
'
http
s:\/\/jvtest.uhealthbank.com
\/\
'
;/
"
src/configs/index.js
export ANDROID_HOME=/Users/jenkins/Library/Android/sdk
export ANDROID_HOME=/Users/jenkins/Library/Android/sdk
...
@@ -76,12 +76,12 @@ npm run build-thread-android
...
@@ -76,12 +76,12 @@ npm run build-thread-android
bundle exec fastlane android uat
</command>
bundle exec fastlane android uat
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>
VERSION=UAT_
DHP
_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
<command>
VERSION=UAT_
JV
_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
NAME=HRB_Mobile
NAME=HRB_Mobile
mv android/app/build/outputs/apk/releaseUAT/app-releaseUAT.apk ~/Sites/${NAME}_${VERSION}.apk
mv android/app/build/outputs/apk/releaseUAT/app-releaseUAT.apk ~/Sites/${NAME}_${VERSION}.apk
scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/
dhp
/
</command>
scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/
jv
/
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
<publishers>
<publishers>
...
@@ -90,7 +90,7 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/dhp/</command
...
@@ -90,7 +90,7 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/dhp/</command
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
<configs>
<configs>
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
<properties>
NotifyMessage=Deploy HRB Mobile apk on UAT
DHP
done.
</properties>
<properties>
NotifyMessage=Deploy HRB Mobile apk on UAT
JV
done.
</properties>
<textParamValueOnNewLine>
false
</textParamValueOnNewLine>
<textParamValueOnNewLine>
false
</textParamValueOnNewLine>
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
</configs>
</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