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
a10797f4
Commit
a10797f4
authored
Jul 30, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [HRB_Mobile_UAT_DHP_ipa] configuration updated
Change performed by §N¨ήS
parent
7441a56b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
39 deletions
+29
-39
jobs/HRB_Mobile_UAT_DHP_ipa/config.xml
jobs/HRB_Mobile_UAT_DHP_ipa/config.xml
+29
-39
No files found.
jobs/HRB_Mobile_UAT_DHP_ipa/config.xml
View file @
a10797f4
...
@@ -4,6 +4,14 @@
...
@@ -4,6 +4,14 @@
<description>
DHP 打包 ipa,不做 code push
</description>
<description>
DHP 打包 ipa,不做 code push
</description>
<keepDependencies>
false
</keepDependencies>
<keepDependencies>
false
</keepDependencies>
<properties>
<properties>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
-1
</daysToKeep>
<numToKeep>
5
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.12"
>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.12"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
...
@@ -17,18 +25,28 @@ hotfix/1.14.1GA</description>
...
@@ -17,18 +25,28 @@ hotfix/1.14.1GA</description>
<defaultValue>
DHP/develop
</defaultValue>
<defaultValue>
DHP/develop
</defaultValue>
<trim>
false
</trim>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition
plugin=
"global-variable-string-parameter@1.2"
>
<name>
HTT_PROTOCOL
</name>
<description>
http / https
</description>
<defaultValue>
https
</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>
API_SERVER
</name>
<description>
連線位置
</description>
<defaultValue>
dihuat.uhealthbank.com
</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></description>
<defaultValue>
dhp
</defaultValue>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
-1
</daysToKeep>
<numToKeep>
5
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
</properties>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@3.1
0.1
"
>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@3.1
1.0
"
>
<configVersion>
2
</configVersion>
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<hudson.plugins.git.UserRemoteConfig>
...
@@ -54,35 +72,7 @@ hotfix/1.14.1GA</description>
...
@@ -54,35 +72,7 @@ hotfix/1.14.1GA</description>
<concurrentBuild>
false
</concurrentBuild>
<concurrentBuild>
false
</concurrentBuild>
<builders>
<builders>
<hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>
PATH=
"
$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/
"
<command>
sh jenkins_ios_uat.sh ${CODE_PUSH}
</command>
security set-key-partition-list -S apple: -k Yonglinit123 -D
"
iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP.
"
-t private
VERSION=UAT_DHP_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
npm install
sed -i
""
'
/url/s/http.*\//https:\/\/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
''
"
/defaultLanguageCode/s/\
'
.*\
'
;/\
'
en_US\
'
;/
"
src/configs/index.js
sed -i
''
"
/unitStandard/s/\
'
.*\
'
;/\
'
USCU\
'
;/
"
src/configs/index.js
sed -i
''
"
/allergyUrl/s/__DEV__.*url;/\
'
http:\/\/10.32.86.124\/\
'
;/
"
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
npm run build-thread-ios
bundle exec fastlane ios uat
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>
VERSION=UAT_DHP_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
NAME=HRB_Mobile
mv $NAME.ipa ~/Sites/${NAME}_${VERSION}.ipa
scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/dhp/
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
<publishers>
<publishers>
...
@@ -115,9 +105,9 @@ scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.13
...
@@ -115,9 +105,9 @@ scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.13
<externalDelete></externalDelete>
<externalDelete></externalDelete>
<disableDeferredWipeout>
false
</disableDeferredWipeout>
<disableDeferredWipeout>
false
</disableDeferredWipeout>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
<hudson.plugins.timestamper.TimestamperBuildWrapper
plugin=
"timestamper@1.10"
/>
<hudson.plugins.ansicolor.AnsiColorBuildWrapper
plugin=
"ansicolor@0.6.2"
>
<hudson.plugins.ansicolor.AnsiColorBuildWrapper
plugin=
"ansicolor@0.6.2"
>
<colorMapName>
xterm
</colorMapName>
<colorMapName>
xterm
</colorMapName>
</hudson.plugins.ansicolor.AnsiColorBuildWrapper>
</hudson.plugins.ansicolor.AnsiColorBuildWrapper>
<hudson.plugins.timestamper.TimestamperBuildWrapper
plugin=
"timestamper@1.10"
/>
</buildWrappers>
</buildWrappers>
</project>
</project>
\ No newline at end of file
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