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

20140144: Job [Deploy_CHM_SIT_131] configuration updated

Change performed by ·¨¼y°ó
parent af04c349
......@@ -101,9 +101,19 @@ sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${ve
<postbuilders>
<hudson.tasks.Shell>
<command>sudo systemctl stop CRM
sudo rm -f /opt/CRM/lib/*
sudo 7za e target/CRM-pack.zip -o/opt/CRM/lib/ CRM/lib/*.* -r -y
sudo 7za e target/CRM-pack.zip -o/opt/CRM/templates/ CRM/templates/*.* -r -y
chm=/opt/CRM/
tempdir=$(mktemp -d)
sudo rm -f ${chm}/lib/*
sudo rm -rf ${chm}/templates/*
7za x target/CRM-pack.zip -o&quot;${tempdir}&quot;
sudo mv -f ${tempdir}/CRM/lib/* &quot;${chm}/lib&quot;
sudo mv -f ${tempdir}/CRM/templates/* &quot;${chm}/templates&quot;
rm -rf &quot;${tempdir}&quot;
sudo systemctl start CRM</command>
</hudson.tasks.Shell>
</postbuilders>
......
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