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

20140144: Job [Deploy_HRB_Resource_Server_Prod] configuration updated

Change performed by ·¨¼y°ó
parent 195f8dff
......@@ -33,7 +33,7 @@ hotfix/1.15.1GA</description>
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://cm.ylhealth.org/gitlab/ym/HRB_Authorization_Server.git</url>
<url>https://cm.ylhealth.org/gitlab/ym/HRB_Resource_Server.git</url>
<credentialsId>3485e854-8389-40e8-8c86-b94e94e91904</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
......@@ -133,14 +133,13 @@ for /f &quot;skip=1 tokens=1-6 delims= &quot; %%a in (&apos;wmic path Win32_Loca
)&#xd;
for /f &quot;tokens=*&quot; %%i in (&apos;git rev-parse --short HEAD&apos;) do set VAR=%%i_%FormattedDate%&#xd;
for /F &quot;delims=/ tokens=3&quot; %%i in (&quot;%GIT_BRANCH%&quot;) do set version=%%i&#xd;
&#xd;
sed -i &quot;s/&lt;head.*/&lt;head version=\&quot;%version%_%VAR%\&quot;\/&gt;/&quot; src/main/webapp/WEB-INF/jsp/login/login.jsp</command>
</command>
</hudson.tasks.BatchFile>
</prebuilders>
<postbuilders>
<hudson.tasks.BatchFile>
<command>ssh -i F:/jenkins/id_rsa ymadmin@10.36.220.162 &quot;rm -f /opt/HRB_oAuth/authservice-pack.zip&quot;&#xd;
scp -i F:/jenkins/id_rsa target/authservice-pack.zip ymadmin@10.36.220.162:/opt/HRB_oAuth/&#xd;
<command>ssh -i F:/jenkins/id_rsa ymadmin@10.36.220.162 &quot;rm -f /opt/HRBResourceServer/resource_server-pack.zip&quot;&#xd;
scp -i F:/jenkins/id_rsa target/resource_server-pack.zip ymadmin@10.36.220.162:/opt/HRBResourceServer/&#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