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
14ffed70
Commit
14ffed70
authored
Aug 16, 2018
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20140144: Job [Deploy_CHMB_UAT_133] configuration updated
Change performed by ·¨¼y°ó
parent
92fcfdfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
jobs/Deploy_CHMB_UAT_133/config.xml
jobs/Deploy_CHMB_UAT_133/config.xml
+12
-4
No files found.
jobs/Deploy_CHMB_UAT_133/config.xml
View file @
14ffed70
...
...
@@ -150,10 +150,18 @@ sed -i "s/<title.*/<title>CHM Booking Manage v${version}_${VAR}<
<postbuilders>
<hudson.tasks.Shell>
<command>
sudo systemctl stop CHMB
sudo rm -f /opt/CHMB/lib/*
7za e target/CHMB-pack.zip -o/opt/CHMB/lib/ CHMB/lib/*.* -r -y
7za e target/CHMB-pack.zip -o/opt/CHMB/template/ CHMB/template/*.* -r -y
7za e target/CHMB-pack.zip -o/opt/CHMB/sample/ CHMB/sample/*.* -r -y
chmb=/opt/CHMB
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}
"
sudo systemctl start CHMB
</command>
</hudson.tasks.Shell>
</postbuilders>
...
...
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