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
f133b4c2
Commit
f133b4c2
authored
Oct 23, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20180083: Job [HRB_Mobile_Prod_DHP_apk] hierarchy deleted
Change performed by §õº~?
parent
17e4f8d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
113 deletions
+0
-113
config.xml
config.xml
+0
-1
jobs/HRB_Mobile_Prod_DHP_apk/config.xml
jobs/HRB_Mobile_Prod_DHP_apk/config.xml
+0
-112
No files found.
config.xml
View file @
f133b4c2
...
@@ -324,7 +324,6 @@
...
@@ -324,7 +324,6 @@
<string>
HRB_Mobile_Prod_apk
</string>
<string>
HRB_Mobile_Prod_apk
</string>
<string>
HRB_Mobile_Prod_apk_CodePush
</string>
<string>
HRB_Mobile_Prod_apk_CodePush
</string>
<string>
HRB_Mobile_Prod_apk_inhouse
</string>
<string>
HRB_Mobile_Prod_apk_inhouse
</string>
<string>
HRB_Mobile_Prod_DHP_apk
</string>
<string>
HRB_Mobile_Prod_Expert_apk
</string>
<string>
HRB_Mobile_Prod_Expert_apk
</string>
<string>
HRB_Mobile_Prod_JV_apk
</string>
<string>
HRB_Mobile_Prod_JV_apk
</string>
<string>
HRB_Mobile_SIT_apk
</string>
<string>
HRB_Mobile_SIT_apk
</string>
...
...
jobs/HRB_Mobile_Prod_DHP_apk/config.xml
deleted
100644 → 0
View file @
17e4f8d7
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>
打包 APK,不做 code push
</description>
<keepDependencies>
false
</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.12"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition
plugin=
"global-variable-string-parameter@1.2"
>
<name>
HRB_Mobile_Prod_Branch
</name>
<description>
UAT 使用的版本,如:
release/1.15GA
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>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
-1
</daysToKeep>
<numToKeep>
5
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@3.10.0"
>
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>
https://cm.ylhealth.org/gitlab/ym/HRB_Mobile.git
</url>
<credentialsId>
3485e854-8389-40e8-8c86-b94e94e91904
</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>
*/${HRB_Mobile_Prod_Branch}
</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>
false
</doGenerateSubmoduleConfigurations>
<submoduleCfg
class=
"list"
/>
<extensions/>
</scm>
<assignedNode>
Mac_Node
</assignedNode>
<canRoam>
false
</canRoam>
<disabled>
false
</disabled>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>
false
</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>
false
</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>
sh jenkins_android_prod.sh ${CODE_PUSH}
#PATH=
"
$PATH:/usr/local/bin:/Users/scott/.fastlane/bin/
"
#export VERSION=$(grep appVersion appConfig.json|cut -d
'"'
-f4)_$(git rev-list HEAD --count)_$(git rev-parse --short HEAD)
#MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
#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
''
"
/allergyUrl/s/\__DEV__.*\
'
;/\
'
https:\/\/dhp.h2uclub.com\/\
'
;/
"
src/configs/index.js
#export ANDROID_HOME=/Users/jenkins/Library/Android/sdk
#npm run build-thread-android
#bundle exec fastlane android release
#VERSION=Prod_DIH_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
#MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
#NAME=HRB_Mobile
#mv android/app/build/outputs/apk/release/app-release.apk ~/Sites/${NAME}_${VERSION}.apk
#scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/dhp/
</command>
</hudson.tasks.Shell>
</builders>
<publishers>
<hudson.tasks.Mailer
plugin=
"mailer@1.23"
>
<recipients>
$RD_Group $QA_Group
</recipients>
<dontNotifyEveryUnstableBuild>
false
</dontNotifyEveryUnstableBuild>
<sendToIndividuals>
false
</sendToIndividuals>
</hudson.tasks.Mailer>
</publishers>
<buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup
plugin=
"ws-cleanup@0.37"
>
<deleteDirs>
false
</deleteDirs>
<cleanupParameter></cleanupParameter>
<externalDelete></externalDelete>
<disableDeferredWipeout>
false
</disableDeferredWipeout>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
<hudson.plugins.ansicolor.AnsiColorBuildWrapper
plugin=
"ansicolor@0.6.2"
>
<colorMapName>
xterm
</colorMapName>
</hudson.plugins.ansicolor.AnsiColorBuildWrapper>
<hudson.plugins.timestamper.TimestamperBuildWrapper
plugin=
"timestamper@1.9"
/>
</buildWrappers>
</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