Commit a978e720 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 7505e183
......@@ -181,8 +181,7 @@ for /f "tokens=*" %%i in ('git rev-parse --short HEAD') do s
for /F "delims=/ tokens=3" %%i in ("%GIT_BRANCH%") do set version=%%i
for /f %%a in ('git describe --tags') do set "tags=%%a"

sed -i "s/<base.*/<base href=\"\/\" version=\"%tags%_%version%_%VAR%\"\/>/" src/main/resources/static/index.html
sed -i &quot;s/&lt;base.*/&lt;base href=\&quot;\/\&quot; version=\&quot;%tags%_%version%_%VAR%\&quot;\/&gt;/&quot; src/main/resources/static/login.html</command>
echo &quot;%tags%_%version%_%VAR%&quot; &gt; src/main/resources/version</command>
</hudson.tasks.BatchFile>
</prebuilders>
<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