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
f5e3cebd
Commit
f5e3cebd
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
2b9d2c76
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
53 deletions
+10
-53
jobs/BatchForHealthConn_Prod/config.xml
jobs/BatchForHealthConn_Prod/config.xml
+10
-53
No files found.
jobs/BatchForHealthConn_Prod/config.xml
View file @
f5e3cebd
<?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset
plugin=
"maven-plugin@3.2"
>
<actions/>
<description>
整合打包測試

10.32.86.132:443
</description>
<description>
打包新的康聯轉檔程式

打包完會放到

/home/hccuser/hccProd/batch/batch.jar

/home/hccuser/hccProd/batch/dependency/
</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>
<daysToKeep>
-
1
</daysToKeep>
<numToKeep>
3
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
...
...
@@ -38,7 +29,7 @@ yyyyMMdd</description>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>
*/
develop
</name>
<name>
*/
master
</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>
false
</doGenerateSubmoduleConfigurations>
...
...
@@ -81,45 +72,11 @@ yyyyMMdd</description>
<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>
<postbuilders/>
<runPostStepsIfResult>
<name>
FAILURE
</name>
<ordinal>
2
</ordinal>
<color>
RED
</color>
<name>
SUCCESS
</name>
<ordinal>
0
</ordinal>
<color>
BLUE
</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