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

scott: Job [Deploy_HRB_API_Prod] configuration updated

Change performed by ·¨¼y°ó
parent e593124e
......@@ -2,10 +2,10 @@
<maven2-moduleset plugin="maven-plugin@3.4">
<actions/>
<description>1. 透過MobaXterm到正式環境去發佈&#xd;
2. Jenkis打包完會放到 10.36.220.162:/opt/HRB/&#xd;
2. Jenkis打包完會放到 10.36.220.162:/opt/HRB_API/&#xd;
3. 透過MobaXterm進入到正式環境10.36.220.162&#xd;
4. Command : cd /opt/HRB&#xd;
5. Command : /opt/HRB/update.sh</description>
4. Command : cd /opt/HRB_API&#xd;
5. Command : /opt/HRB_API/update.sh</description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.security.AuthorizationMatrixProperty>
......@@ -70,7 +70,7 @@ hotfix/1.15.1GA</description>
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://cm.ylhealth.org/gitlab/ym/HRB.git</url>
<url>https://cm.ylhealth.org/gitlab/ym/HRB_API.git</url>
<credentialsId>3485e854-8389-40e8-8c86-b94e94e91904</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
......@@ -187,8 +187,8 @@ sed -i &quot;s/&lt;base.*/&lt;base href=\&quot;\/\&quot; version=\&quot;%tags%_%
</prebuilders>
<postbuilders>
<hudson.tasks.BatchFile>
<command>ssh -i F:/jenkins/id_rsa ymadmin@10.36.220.162 &quot;rm -f /opt/HRB/HRB-pack.zip&quot;&#xd;
scp -i F:/jenkins/id_rsa target/HRB-pack.zip ymadmin@10.36.220.162:/opt/HRB/&#xd;
<command>ssh -i F:/jenkins/id_rsa ymadmin@10.36.220.162 &quot;rm -f /opt/HRB_API/HRB_API-pack.zip&quot;&#xd;
scp -i F:/jenkins/id_rsa target/HRB_API-pack.zip ymadmin@10.36.220.162:/opt/HRB_API/&#xd;
</command>
</hudson.tasks.BatchFile>
</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