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

20180083: Job [Deploy_Hi365_Questionnaire_SIT] configuration updated

Change performed by §õº~?
parent 23d90143
...@@ -85,9 +85,18 @@ ...@@ -85,9 +85,18 @@
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>#切換目標 <command>#切換目標
cd target cd target
sudo rename designer_boot-0.0.1-SNAPSHOT.war designer_boot-0.0.1.war
#停止服務
sudo systemctl stop form.service sudo systemctl stop form.service
</command>
#移除原本war檔案
sudo rm /opt/form/designer_boot.war
#搬移檔案到/opt/form/designer_boot.war
mv designer_boot-0.0.1-SNAPSHOT.war /opt/form/designer_boot.war
#開啟服務
sudo systemctl start form.service</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