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

20140144: Job [Deploy_HRB_Authorization_Server_Prod] configuration

updated

Change performed by ·¨¼y°ó
parent 7813c649
......@@ -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.git</url>
<url>https://cm.ylhealth.org/gitlab/ym/HRB_Authorization_Server.git</url>
<credentialsId>3485e854-8389-40e8-8c86-b94e94e91904</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
......@@ -134,14 +134,13 @@ for /f &quot;skip=1 tokens=1-6 delims= &quot; %%a in (&apos;wmic path Win32_Loca
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;base.*/&lt;base href=\&quot;\/\&quot; version=\&quot;%version%_%VAR%\&quot;\/&gt;/&quot; src/main/resources/static/index.html&#xd;
sed -i &quot;s/&lt;base.*/&lt;base href=\&quot;\/\&quot; version=\&quot;%version%_%VAR%\&quot;\/&gt;/&quot; src/main/resources/static/login.html</command>
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>
</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/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_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>
</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