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
9647181d
Commit
9647181d
authored
Jun 12, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [HRB_Mobile_Other_ipa] configuration updated
Change performed by §N¨ήS
parent
19140aac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
33 deletions
+23
-33
jobs/HRB_Mobile_Other_ipa/config.xml
jobs/HRB_Mobile_Other_ipa/config.xml
+23
-33
No files found.
jobs/HRB_Mobile_Other_ipa/config.xml
View file @
9647181d
...
...
@@ -23,7 +23,7 @@ echo "gem 'fastlane', '2.113.0'" >> Gemfile&
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition
plugin=
"global-variable-string-parameter@1.2"
>
<name>
HRB_Mobile_Other_Branch
</name>
<name>
GIT_BRANCH
</name>
<description>
feature branch使用的版本,如:
feature/HA-818
其他Branch請自行設定
...
...
@@ -51,6 +51,12 @@ commitId
<defaultValue>
http
</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>
other
</defaultValue>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty>
...
...
@@ -72,7 +78,7 @@ commitId
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>
*/${
HRB_Mobile_Other_Branch
}
</name>
<name>
*/${
GIT_BRANCH
}
</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>
false
</doGenerateSubmoduleConfigurations>
...
...
@@ -88,38 +94,22 @@ commitId
<concurrentBuild>
false
</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>
sh jenkins_ios.sh SIT_${DownloadName}
sed -i
''
"
/url/s/http.*\//${HTT_PROTOCOL}:\/\/${API_SERVER}\//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__.*\
'
;/\
'
${HTT_PROTOCOL}:\/\/${API_SERVER}\/\
'
;/
"
src/configs/index.js
sed -i
''
'
s/appVersion.*/appVersion
"
:
"
1.27
"
/
'
appConfig.json
# 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
# security set-key-partition-list -S apple: -k Yonglinit123 -D
"
iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP.
"
-t private
##npm run bundle-worker-ios
npm run build-thread-ios
##echo
"
source
'
https://rubygems.org
'"
>
Gemfile
##echo
"
gem
'
cocoapods
'
,
'
1.4.0
'"
>>
Gemfile
##echo
"
gem
'
fastlane
'
,
'
2.107.0
'"
>>
Gemfile
#bundle update
#bundle install
bundle exec fastlane ios beta
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>
VERSION=SIT_${DownloadName}_$(date +%Y%m%d)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
NAME=HRB_Mobile
mv ~/jenkins/workspace/HRB_Mobile_Other_ipa/$NAME.ipa ~/Sites/${NAME}_${VERSION}.ipa
scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/
</command>
<command>
sh jenkins_ios_sit.sh ${CODE_PUSH}
</command>
</hudson.tasks.Shell>
<hudson.plugins.parameterizedtrigger.TriggerBuilder
plugin=
"parameterized-trigger@2.35.2"
>
<configs>
<hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
<configs>
<hudson.plugins.parameterizedtrigger.CurrentBuildParameters/>
</configs>
<projects>
HRB_Mobile_SIT_ipa_CodePush
</projects>
<condition>
ALWAYS
</condition>
<triggerWithNoParameters>
false
</triggerWithNoParameters>
<triggerFromChildProjects>
false
</triggerFromChildProjects>
<buildAllNodesWithLabel>
false
</buildAllNodesWithLabel>
</hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
</configs>
</hudson.plugins.parameterizedtrigger.TriggerBuilder>
</builders>
<publishers/>
<buildWrappers>
...
...
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