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
8383b345
Commit
8383b345
authored
Mar 14, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20140144: Job [BatchForHealthConn_Prod] configuration updated
Change performed by ·¨¼y°ó
parent
e0f9bf8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
125 additions
and
0 deletions
+125
-0
jobs/BatchForHealthConn_Prod/config.xml
jobs/BatchForHealthConn_Prod/config.xml
+125
-0
No files found.
jobs/BatchForHealthConn_Prod/config.xml
0 → 100644
View file @
8383b345
<?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset
plugin=
"maven-plugin@3.2"
>
<actions/>
<description>
整合打包測試

10.32.86.132:443
</description>
<keepDependencies>
false
</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.11"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.TextParameterDefinition>
<name>
EXEC_DATE
</name>
<description>
要轉檔資料的時間
yyyyMMdd
</description>
<defaultValue>
20180329
</defaultValue>
<trim>
false
</trim>
</hudson.model.TextParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
1
</daysToKeep>
<numToKeep>
3
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@3.9.3"
>
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>
https://cm.ylhealth.org/gitlab/ym/BatchForHealthConn.git
</url>
<credentialsId>
3485e854-8389-40e8-8c86-b94e94e91904
</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>
*/develop
</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>
false
</doGenerateSubmoduleConfigurations>
<submoduleCfg
class=
"list"
/>
<extensions/>
</scm>
<assignedNode>
HCC_Proxy
</assignedNode>
<canRoam>
false
</canRoam>
<disabled>
false
</disabled>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>
false
</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>
false
</concurrentBuild>
<rootModule>
<groupId>
org.ylhealth.crm
</groupId>
<artifactId>
batch
</artifactId>
</rootModule>
<goals>
clean package -Dmaven.test.skip=true
</goals>
<aggregatorStyleBuild>
true
</aggregatorStyleBuild>
<incrementalBuild>
false
</incrementalBuild>
<ignoreUpstremChanges>
false
</ignoreUpstremChanges>
<ignoreUnsuccessfulUpstreams>
false
</ignoreUnsuccessfulUpstreams>
<archivingDisabled>
false
</archivingDisabled>
<siteArchivingDisabled>
false
</siteArchivingDisabled>
<fingerprintingDisabled>
false
</fingerprintingDisabled>
<resolveDependencies>
false
</resolveDependencies>
<processPlugins>
false
</processPlugins>
<mavenValidationLevel>
-1
</mavenValidationLevel>
<runHeadless>
false
</runHeadless>
<disableTriggerDownstreamProjects>
false
</disableTriggerDownstreamProjects>
<blockTriggerWhenBuilding>
true
</blockTriggerWhenBuilding>
<settings
class=
"jenkins.mvn.DefaultSettingsProvider"
/>
<globalSettings
class=
"jenkins.mvn.DefaultGlobalSettingsProvider"
/>
<reporters/>
<publishers/>
<buildWrappers>
<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>
<prebuilders/>
<postbuilders>
<hudson.tasks.Shell>
<command>
cat
>
app_PROD.properties
<<
EOF
dataSource.url=jdbc:jtds:sqlserver://10.32.86.132:443/CRM_UAT
dataSource.userName=batch
dataSource.password=3edc4rfv
dataSource.driverClassName=net.sourceforge.jtds.jdbc.Driver
dataSource.dialect=org.hibernate.dialect.SQLServer2008Dialect
hrb.dataSource.url=jdbc:jtds:sqlserver://10.32.86.132:443/HRB_DEV
hrb.dataSource.userName=batch
hrb.dataSource.password=3edc4rfv
hrb.dataSource.driverClassName=net.sourceforge.jtds.jdbc.Driver
hrb.dataSource.dialect=org.hibernate.dialect.SQLServer2008Dialect
his.dataSource.url=jdbc:oracle:thin:@10.57.112.21:1521/HISDB
his.dataSource.userName=CRM_SYNC
his.dataSource.password=crm@1234
his.dataSource.driverClassName=oracle.jdbc.driver.OracleDriver
his.dataSource.dialect=org.hibernate.dialect.Oracle10gDialect
his.dataSource.default_schema=HCC
smtp.userName=ylbatch
smtp.password=foxconn88
email.notify=scott.yang@ylhealth.org,alison.kuo@ylhealth.org
email.admin=scott.yang@ylhealth.org,alison.kuo@ylhealth.org
EOF
/home/test/run_etl.sh
java -cp .:target/batch-0.0.1-SNAPSHOT-rnull.jar org.ylhealth.crm.batch.main.CRMBatch ${EXEC_DATE}
</command>
</hudson.tasks.Shell>
</postbuilders>
<runPostStepsIfResult>
<name>
FAILURE
</name>
<ordinal>
2
</ordinal>
<color>
RED
</color>
<completeBuild>
true
</completeBuild>
</runPostStepsIfResult>
</maven2-moduleset>
\ 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