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
41530175
Commit
41530175
authored
Oct 31, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scott: Job [CHMB_Batch_Prod] configuration updated
Change performed by ·¨¼y°ó
parent
21c38d72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
147 additions
and
0 deletions
+147
-0
jobs/CHMB_Batch_Prod/config.xml
jobs/CHMB_Batch_Prod/config.xml
+147
-0
No files found.
jobs/CHMB_Batch_Prod/config.xml
0 → 100644
View file @
41530175
<?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset
plugin=
"maven-plugin@3.4"
>
<actions/>
<description>
康聯部份排程程式(正式)

1. PACS名單介接拋轉

2. 康聯發 mail


jobs:

# 將報告送到 HRB

TranChkReport:

cron:
"
0 0 1 * * ?
"
enable: false

# 排程寄發 mail

SendMail:

cron:
"
*/5 * * * * ?
"
enable: true

PushToPACSJob:

enable: true

cron1:
"
0 20 1 ? * MON-SAT
"
cron2:
"
0 20 1 ? * SUN
"
# 批次健檢滿意度問卷

ReservationSurveyNoticeJob:

cron:
"
0 0 3 * * ?
"
enable: false
</description>
<keepDependencies>
false
</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.13"
>
<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>
GIT_BRANCH
</name>
<description>
如
master
release/1.15GA
hotfix/1.15.1GA
</description>
<defaultValue>
release/1.46GA
</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.12.1"
>
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>
https://cm.ylhealth.org/gitlab/ym/CRM_BOOKING.git
</url>
<credentialsId>
3485e854-8389-40e8-8c86-b94e94e91904
</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>
*/${GIT_BRANCH}
</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.ym.hrb.backend
</groupId>
<artifactId>
CHMB
</artifactId>
</rootModule>
<goals>
clean package -Dmaven.test.skip=true -DskipTests=true
</goals>
<defaultGoals>
spring-boot:run
</defaultGoals>
<aggregatorStyleBuild>
true
</aggregatorStyleBuild>
<incrementalBuild>
false
</incrementalBuild>
<ignoreUpstremChanges>
true
</ignoreUpstremChanges>
<ignoreUnsuccessfulUpstreams>
false
</ignoreUnsuccessfulUpstreams>
<archivingDisabled>
true
</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>
<hudson.maven.reporters.MavenMailer>
<recipients>
$RD_Group
</recipients>
<dontNotifyEveryUnstableBuild>
false
</dontNotifyEveryUnstableBuild>
<sendToIndividuals>
false
</sendToIndividuals>
<perModuleEmail>
true
</perModuleEmail>
</hudson.maven.reporters.MavenMailer>
</reporters>
<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.timestamper.TimestamperBuildWrapper
plugin=
"timestamper@1.10"
/>
</buildWrappers>
<prebuilders>
<hudson.tasks.Shell>
<command>
VAR=$(git rev-parse --short HEAD)_$(date +
"
%Y%m%d_%H%M
"
)
version=${GIT_BRANCH##*/}
sed -i
"
s/
<
title.*/
<
title
>
CHM Booking Manage v${version}_${VAR}
<
\/title\/
>
/
"
src/main/resources/static/index.html
sed -i
"
s/
<
title.*/
<
title
>
CHM Booking Manage v${version}_${VAR}
<
\/title\/
>
/
"
src/main/resources/static/assets/index.html
</command>
</hudson.tasks.Shell>
</prebuilders>
<postbuilders>
<hudson.tasks.Shell>
<command>
systemctl stop CHMB_Batch_UAT
chmb=/opt/chm/chmb_batch_uat
tempdir=$(mktemp -d)
7za x target/CHMB-pack.zip -o
"
${tempdir}
"
rm -rf ${chmb}/lib/*
rm -rf ${chmb}/sample/*
rm -rf ${chmb}/template/*
mv -f ${tempdir}/CHMB/lib/*
"
${chmb}/lib
"
mv -f ${tempdir}/CHMB/sample/*
"
${chmb}/sample
"
mv -f ${tempdir}/CHMB/template/*
"
${chmb}/template
"
rm -rf
"
${tempdir}
"
systemctl start CHMB_Batch_UAT
</command>
</hudson.tasks.Shell>
</postbuilders>
<runPostStepsIfResult>
<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