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
af73ca7d
Commit
af73ca7d
authored
Mar 02, 2020
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [Deploy_KM_DEV_151] configuration updated
Change performed by 冷佳娟
parent
2d63c263
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
jobs/Deploy_KM_DEV_151/config.xml
jobs/Deploy_KM_DEV_151/config.xml
+6
-9
No files found.
jobs/Deploy_KM_DEV_151/config.xml
View file @
af73ca7d
...
...
@@ -47,7 +47,11 @@
<disabled>
false
</disabled>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>
false
</blockBuildWhenUpstreamBuilding>
<triggers/>
<triggers>
<hudson.triggers.TimerTrigger>
<spec>
0 8,12,16 * * *
</spec>
</hudson.triggers.TimerTrigger>
</triggers>
<concurrentBuild>
false
</concurrentBuild>
<rootModule>
<groupId>
com.h2uclub
</groupId>
...
...
@@ -72,14 +76,7 @@
<reporters/>
<publishers/>
<buildWrappers/>
<prebuilders>
<hudson.tasks.Shell>
<command>
#VAR=$(git rev-parse --short HEAD)_$(date +
"
%Y%m%d_%H%M
"
)
#version=$(echo $GIT_BRANCH | cut -d
'
/
'
-f 3)
#sed -i
"
s/
<
base.*/
<
base href=\
"
\/\
"
version=\
"
${version}_${VAR}\
"
\/
>
/
"
src/main/resources/static/index.html
#sed -i
"
s/
<
base.*/
<
base href=\
"
\/\
"
version=\
"
${version}_${VAR}\
"
\/
>
/
"
src/main/resources/static/login.html
</command>
</hudson.tasks.Shell>
</prebuilders>
<prebuilders/>
<postbuilders>
<hudson.tasks.Shell>
<command>
sudo systemctl stop km
...
...
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