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
7936a65e
Commit
7936a65e
authored
Jul 09, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [HRB_Mobile_Prod_DHP_ipa] configuration updated
Change performed by §N¨ήS
parent
14b90b1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
14 deletions
+22
-14
jobs/HRB_Mobile_Prod_DHP_ipa/config.xml
jobs/HRB_Mobile_Prod_DHP_ipa/config.xml
+22
-14
No files found.
jobs/HRB_Mobile_Prod_DHP_ipa/config.xml
View file @
7936a65e
...
...
@@ -17,6 +17,12 @@ hotfix/1.14.1GA</description>
<defaultValue>
DHP/master
</defaultValue>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition
plugin=
"global-variable-string-parameter@1.2"
>
<name>
CODE_PUSH
</name>
<description>
哪一個 Job 執行 code-push
</description>
<defaultValue>
dhp
</defaultValue>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty>
...
...
@@ -54,27 +60,29 @@ hotfix/1.14.1GA</description>
<concurrentBuild>
false
</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>
PATH=
"
$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/
"
security set-key-partition-list -S apple: -k Yonglinit123 -D
"
iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP.
"
-t private
VERSION=$(grep appVersion appConfig.json|cut -d
'"'
-f4)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
<command>
sh jenkins_ios_prod.sh ${CODE_PUSH}
#PATH=
"
$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/
"
#security set-key-partition-list -S apple: -k Yonglinit123 -D
"
iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP.
"
-t private
#VERSION=$(grep appVersion appConfig.json|cut -d
'"'
-f4)_$(git rev-parse --short HEAD)
#MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
npm install
#
npm install
# RNFB_ANDROID_PERMISSIONS=true react-native link
sed -i
""
'
/url/s/http.*\//https:\/\/dhp.h2uclub.com\//g
'
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
''
"
/unitStandard/s/\
'
.*\
'
;/\
'
USCU\
'
;/
"
src/configs/index.js
sed -i
''
"
/modifiedTime/s/\
'
.*\
'
;/\
'
${MODIFIED_DATE}\
'
;/
"
src/configs/index.js
sed -i
''
'
s/piwikSiteId_ios =.*/piwikSiteId_ios = 13;/ ;s/piwikSiteId_android =.*/piwikSiteId_android = 12;/
'
src/configs/index.js
#
sed -i
""
'
/url/s/http.*\//https:\/\/dhp.h2uclub.com\//g
'
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
''
"
/unitStandard/s/\
'
.*\
'
;/\
'
USCU\
'
;/
"
src/configs/index.js
#
sed -i
''
"
/modifiedTime/s/\
'
.*\
'
;/\
'
${MODIFIED_DATE}\
'
;/
"
src/configs/index.js
#
sed -i
''
'
s/piwikSiteId_ios =.*/piwikSiteId_ios = 13;/ ;s/piwikSiteId_android =.*/piwikSiteId_android = 12;/
'
src/configs/index.js
# RN0.57.8 modify(HA-1058), after RN0.58 will remove this command
sed -i
""
'
s/NSUInteger loopCount = 0;/CGFloat loopCount = 0;/
'
node_modules/react-native/Libraries/Image/RCTGIFImageDecoder.m
#
sed -i
""
'
s/NSUInteger loopCount = 0;/CGFloat loopCount = 0;/
'
node_modules/react-native/Libraries/Image/RCTGIFImageDecoder.m
npm run build-thread-ios
bundle exec fastlane ios release
</command>
#
npm run build-thread-ios
#
bundle exec fastlane ios release
</command>
</hudson.tasks.Shell>
</builders>
<publishers>
...
...
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