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
8b2b780a
Commit
8b2b780a
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
f405163b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
jobs/KM_SIT_137_Trigger/config.xml
jobs/KM_SIT_137_Trigger/config.xml
+23
-2
No files found.
jobs/KM_SIT_137_Trigger/config.xml
View file @
8b2b780a
...
...
@@ -7,6 +7,20 @@
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.ChoiceParameterDefinition>
<name>
process
</name>
<description/>
<choices
class=
"java.util.Arrays$ArrayList"
>
<a
class=
"string-array"
>
<string>
stop
</string>
<string>
start
</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
-1
</daysToKeep>
...
...
@@ -28,7 +42,6 @@
<groupId>
com.h2uclub
</groupId>
<artifactId>
h2u-km-api
</artifactId>
</rootModule>
<goals>
clean package -Poptimize -Dmaven.test.skip=true -DskipTests=true
</goals>
<aggregatorStyleBuild>
true
</aggregatorStyleBuild>
<incrementalBuild>
false
</incrementalBuild>
<ignoreUpstremChanges>
true
</ignoreUpstremChanges>
...
...
@@ -47,7 +60,15 @@
<reporters/>
<publishers/>
<buildWrappers/>
<prebuilders/>
<prebuilders>
<hudson.tasks.Shell>
<command>
if [ "${process}" == "start" ]; then
systemctl start km
else
systemctl stop km
fi
</command>
</hudson.tasks.Shell>
</prebuilders>
<postbuilders/>
<runPostStepsIfResult>
<name>
FAILURE
</name>
...
...
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