false 1 2 -1 -1 ylhealth Build_Branch develop false 2 https://cm.ylhealth.org/gitlab/ym/HRB-Rule-Engine.git 3485e854-8389-40e8-8c86-b94e94e91904 */develop false SIT_132 false false false false false com.ylhealth.hra ylhealth_hra clean package -Dmaven.test.skip=true -P !jenkins,qa jetty:run true false false false true true true false false -1 false true false false false true true true false true true false false false NONE false Branch_Variable=$Build_Branch false HRA_Analysis SUCCESS false false NotifyMessage=Deploy HRA on SIT(132) done. false Notify_Group SUCCESS false false false false SETLOCAL EnableDelayedExpansion for /f "skip=1 tokens=1-6 delims= " %%a in ('wmic path Win32_LocalTime Get Day^,Hour^,Minute^,Month^,Second^,Year /Format:table') do ( IF NOT "%%~f"=="" ( set /a FormattedDate=10000 * %%f + 100 * %%d + %%a set FormattedDate=%%f!FormattedDate:~-4,2!!FormattedDate:~-2,2!_%%b:%%c ) ) for /f "tokens=*" %%i in ('git rev-parse --short HEAD') do set VAR=%%i_%FormattedDate% echo Version:%VAR% "C:\Program Files\Git\usr\bin\sed" -i "s/<title.*/<title>Form v%VAR%<\/title\/>/" WebContent\WEB-INF\jsp\home\home.jsp set target=C:\Deploy\hra\webapps net stop hra copy /Y target\ylhealth-hra.war %target%\ net start hra SUCCESS 0 BLUE true