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
0ab9377f
Commit
0ab9377f
authored
Jul 24, 2018
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [HRB_Mobile_SIT_Gene_apk] configuration updated
Change performed by §N¨ήS DICOM
parent
61a8d382
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
76 additions
and
0 deletions
+76
-0
jobs/HRB_Mobile_SIT_Gene_apk/config.xml
jobs/HRB_Mobile_SIT_Gene_apk/config.xml
+76
-0
No files found.
jobs/HRB_Mobile_SIT_Gene_apk/config.xml
0 → 100644
View file @
0ab9377f
<?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.8"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
</properties>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@3.9.1"
>
<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>
*/feature/HA-664
</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>
false
</doGenerateSubmoduleConfigurations>
<submoduleCfg
class=
"list"
/>
<extensions/>
</scm>
<assignedNode>
MAC_BUILD_Machine
</assignedNode>
<canRoam>
false
</canRoam>
<disabled>
false
</disabled>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>
false
</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>
false
</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>
PATH=
"
$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/
"
VERSION=SIT_DICOM_$(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.132\//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
export ANDROID_HOME=/Users/jenkins/Library/Android/sdk
node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ./android --entry-file index.worker.js --platform android --bundle-output ./android/app/src/main/assets/index.worker.bundle --sourcemap-output ./android/app/src/main/assets/index.worker.map
fastlane android beta
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>
VERSION=SIT_DICOM_$(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/app-releaseStaging.apk ~/Sites/${NAME}_${VERSION}.apk
scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/
</command>
</hudson.tasks.Shell>
</builders>
<publishers>
<hudson.tasks.Mailer
plugin=
"mailer@1.21"
>
<recipients></recipients>
<dontNotifyEveryUnstableBuild>
true
</dontNotifyEveryUnstableBuild>
<sendToIndividuals>
false
</sendToIndividuals>
</hudson.tasks.Mailer>
</publishers>
<buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup
plugin=
"ws-cleanup@0.34"
>
<deleteDirs>
false
</deleteDirs>
<cleanupParameter></cleanupParameter>
<externalDelete></externalDelete>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
</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