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

20170121: Job [Deploy_CHM_SIT_130] configuration updated

Change performed by §N¨ήS
parent d6665318
...@@ -130,26 +130,10 @@ sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${ve ...@@ -130,26 +130,10 @@ sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${ve
</prebuilders> </prebuilders>
<postbuilders> <postbuilders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>#sudo systemctl stop CRM <command>sudo systemctl stop CRM
#chm=/opt/CRM/ 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
sudo systemctl stop CRM
chm=/opt/chm/chm
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
sudo rm -f ${chm}/lib/* sudo rm -f ${chm}/lib/*
...@@ -160,7 +144,8 @@ sudo mv -f ${tempdir}/CRM/lib/* &quot;${chm}/lib&quot; ...@@ -160,7 +144,8 @@ sudo mv -f ${tempdir}/CRM/lib/* &quot;${chm}/lib&quot;
sudo mv -f ${tempdir}/CRM/templates/* &quot;${chm}/templates&quot; sudo mv -f ${tempdir}/CRM/templates/* &quot;${chm}/templates&quot;
rm -rf &quot;${tempdir}&quot; rm -rf &quot;${tempdir}&quot;
sudo systemctl start CRM</command> sudo systemctl start CRM
</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</postbuilders> </postbuilders>
<runPostStepsIfResult> <runPostStepsIfResult>
......
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