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
ecb65022
Commit
ecb65022
authored
Oct 24, 2018
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [HRB_Mobile_Other_apk] configuration updated
Change performed by §N¨ήS
parent
d0a51561
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
jobs/HRB_Mobile_Other_apk/config.xml
jobs/HRB_Mobile_Other_apk/config.xml
+9
-8
No files found.
jobs/HRB_Mobile_Other_apk/config.xml
View file @
ecb65022
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>
用來建置feature branch使用

<description>
用來建置feature branch
或是其他Branch
使用

只打包 APK, 不做Code Push
</description>
<keepDependencies>
false
</keepDependencies>
<properties>
...
...
@@ -13,8 +13,9 @@
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition
plugin=
"global-variable-string-parameter@1.2"
>
<name>
HRB_Mobile_Other_Branch
</name>
<description>
feature branch使用的版本,如:
feature/HA-818
</description>
<defaultValue>
feature/HA-818
</defaultValue>
feature/HA-818
其他Branch請自行設定
</description>
<defaultValue>
RN0.50
</defaultValue>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
...
...
@@ -55,12 +56,12 @@ feature/HA-818</description>
<builders>
<hudson.tasks.Shell>
<command>
PATH=
"
$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/
"
VERSION=SIT_
Upgrade
_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
VERSION=SIT_
Other
_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
npm install --update-binary
sed -i
""
'
/url/s/http.*\//http:\/\/10.32.86.13
2
\//g
'
src/configs/index.js
sed -i
""
'
/url/s/http.*\//http:\/\/10.32.86.13
9
\//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/appVersion.*/appVersion
"
:
"
1.27
"
/
'
appConfig.json
...
...
@@ -71,7 +72,7 @@ node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest
fastlane android beta
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>
VERSION=SIT_
Upgrade
_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
<command>
VERSION=SIT_
Other
_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
NAME=HRB_Mobile
...
...
@@ -80,14 +81,14 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/</command
</hudson.tasks.Shell>
</builders>
<publishers>
<hudson.tasks.Mailer
plugin=
"mailer@1.2
1
"
>
<hudson.tasks.Mailer
plugin=
"mailer@1.2
2
"
>
<recipients>
$RD_Group
</recipients>
<dontNotifyEveryUnstableBuild>
true
</dontNotifyEveryUnstableBuild>
<sendToIndividuals>
false
</sendToIndividuals>
</hudson.tasks.Mailer>
</publishers>
<buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup
plugin=
"ws-cleanup@0.3
5
"
>
<hudson.plugins.ws__cleanup.PreBuildCleanup
plugin=
"ws-cleanup@0.3
6
"
>
<deleteDirs>
false
</deleteDirs>
<cleanupParameter></cleanupParameter>
<externalDelete></externalDelete>
...
...
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