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
f405163b
Commit
f405163b
authored
Mar 20, 2020
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [KM_SIT_137_Trigger] configuration updated
Change performed by 冷佳娟
parent
3fafce27
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
55 deletions
+11
-55
jobs/KM_SIT_137_Trigger/config.xml
jobs/KM_SIT_137_Trigger/config.xml
+11
-55
No files found.
jobs/KM_SIT_137_Trigger/config.xml
View file @
f405163b
<?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset
plugin=
"maven-plugin@3.4"
>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<maven2-moduleset
plugin=
"maven-plugin@3.4"
>
<actions/>
<description>
建置KM
API
</description>
<description>
建置KM
start/stop
</description>
<keepDependencies>
false
</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.13"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
-1
</daysToKeep>
...
...
@@ -16,42 +16,13 @@
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@4.2.2"
>
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>
https://cm.ylhealth.org/gitlab/YongYue/km_api.git
</url>
<credentialsId>
3485e854-8389-40e8-8c86-b94e94e91904
</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>
master
</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>
false
</doGenerateSubmoduleConfigurations>
<submoduleCfg
class=
"list"
/>
<extensions>
<hudson.plugins.git.extensions.impl.CloneOption>
<shallow>
false
</shallow>
<noTags>
false
</noTags>
<reference></reference>
<timeout>
40
</timeout>
<depth>
0
</depth>
<honorRefspec>
false
</honorRefspec>
</hudson.plugins.git.extensions.impl.CloneOption>
</extensions>
</scm>
<scm
class=
"hudson.scm.NullSCM"
/>
<assignedNode>
UAT_137
</assignedNode>
<canRoam>
false
</canRoam>
<disabled>
false
</disabled>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>
false
</blockBuildWhenUpstreamBuilding>
<triggers>
<hudson.triggers.TimerTrigger>
<spec>
0 8,12,16 * * *
</spec>
</hudson.triggers.TimerTrigger>
</triggers>
<triggers/>
<concurrentBuild>
false
</concurrentBuild>
<rootModule>
<groupId>
com.h2uclub
</groupId>
...
...
@@ -60,7 +31,7 @@
<goals>
clean package -Poptimize -Dmaven.test.skip=true -DskipTests=true
</goals>
<aggregatorStyleBuild>
true
</aggregatorStyleBuild>
<incrementalBuild>
false
</incrementalBuild>
<ignoreUpstremChanges>
fals
e
</ignoreUpstremChanges>
<ignoreUpstremChanges>
tru
e
</ignoreUpstremChanges>
<ignoreUnsuccessfulUpstreams>
false
</ignoreUnsuccessfulUpstreams>
<archivingDisabled>
true
</archivingDisabled>
<siteArchivingDisabled>
true
</siteArchivingDisabled>
...
...
@@ -73,30 +44,15 @@
<blockTriggerWhenBuilding>
true
</blockTriggerWhenBuilding>
<settings
class=
"jenkins.mvn.DefaultSettingsProvider"
/>
<globalSettings
class=
"jenkins.mvn.DefaultGlobalSettingsProvider"
/>
<reporters>
<hudson.maven.reporters.MavenMailer>
<recipients>
$RD_Group $QA_Group
</recipients>
<dontNotifyEveryUnstableBuild>
false
</dontNotifyEveryUnstableBuild>
<sendToIndividuals>
false
</sendToIndividuals>
<perModuleEmail>
true
</perModuleEmail>
</hudson.maven.reporters.MavenMailer>
</reporters>
<reporters/>
<publishers/>
<buildWrappers/>
<prebuilders/>
<postbuilders>
<hudson.tasks.Shell>
<command>
systemctl stop km
rm -f /opt/KM/lib/*
#cp km-api/src/main/resources/application-sit.yml /opt/KM/config/
cp km-api/target/km-api-1.0.0.jar /opt/KM/lib/
systemctl start km
</command>
</hudson.tasks.Shell>
</postbuilders>
<postbuilders/>
<runPostStepsIfResult>
<name>
SUCCESS
</name>
<ordinal>
0
</ordinal>
<color>
BLUE
</color>
<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