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

scott: Job [Deploy_Batch_Prod] configuration updated

Change performed by ·¨¼y°ó
parent 4fde1695
...@@ -185,10 +185,7 @@ for /f "tokens=*" %%i in ('git rev-parse --short HEAD') do s ...@@ -185,10 +185,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 "delims=/ tokens=3" %%i in ("%GIT_BRANCH%") do set version=%%i
for /f %%a in ('git describe --tags') do set "tags=%%a"
 for /f %%a in ('git describe --tags') do set "tags=%%a"

 
echo Version:%VAR%&#xd; echo Version:%VAR% &gt; src\main\resources\version.txt</command>
sed -i &quot;s/&lt;title.*/&lt;title ng-bind=&apos;page_title&apos;&gt;CRM %tags%_%version%_%VAR%&lt;\/title\/&gt;/&quot; src\main\resources\static\index.html&#xd;
sed -i &quot;s/&lt;base.*/&lt;base href=\&quot;\/CRM\/\&quot; version=\&quot;%tags%_%version%_%VAR%\&quot;\/&gt;/&quot; src\main\resources\static\indexMinify.html&#xd;
</command>
</hudson.tasks.BatchFile> </hudson.tasks.BatchFile>
</prebuilders> </prebuilders>
<postbuilders> <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