Commit 7606045d authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20150024: Job [Deploy_CHMB_UAT_136] configuration updated

Change performed by ¤ý«~³ó
parent 894c929a
......@@ -125,13 +125,13 @@ sed -i "s/<title.*/<title>CHM Booking Manage v${version}_${VAR}&lt
<hudson.tasks.Shell>
<command>sudo systemctl stop CHMB
sudo systemctl stop CHMB_Batch
rm -rf /opt/chm/chmb/lib/*
rm -f /opt/chm/chmb/lib/*
chmb=/opt/chm/chmb
tempdir=$(mktemp -d)
7za x target/CHMB-pack.zip -o&quot;${tempdir}&quot;
cp -rf &quot;${tempdir}/CHMB/lib/&quot; &quot;${chmb}/lib/&quot;
cp -rf &quot;${tempdir}/CHMB/sample/&quot; &quot;${chmb}/sample/&quot;
cp -rf &quot;${tempdir}/CHMB/template/&quot; &quot;${chmb}/template/&quot;
cp -rf &quot;${tempdir}/CHMB/lib/&quot; &quot;${chmb}/lib&quot;
cp -rf &quot;${tempdir}/CHMB/sample/&quot; &quot;${chmb}/sample&quot;
cp -rf &quot;${tempdir}/CHMB/template/&quot; &quot;${chmb}/template&quot;
rm -rf &quot;${tempdir}&quot;
sudo systemctl start CHMB
sudo systemctl start CHMB_Batch</command>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment