echo *********************************************************
echo 脚本功能:基础后台编译,需要配合Jenkins执行。
echo 脚本编写:
echo 编写时间: 2015.1.29
echo *********************************************************
rem 升级包存放路径
set TarDir=E:\AutoPack
rem 后台代码生产路径
set SourcesDir=E:\AutoData
set SourcesDirSrc=%SourcesDir%\Src-BASE_%VersionNum%_LS
rem 编译环境的地址
set CompileIp=192.168.54.226
set CompileUser=%BaseCompileUser%
set CompilePwd=trade32wu
set JCDB=hsjc/hsjc@54.226
set HISDB=hshis/hshis@54.226
set SYS=sys/trade32wu@54.226
rem 工具路径
set VisualStudio="E:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
rem ARES工程属性
rem set AresProject=UFT_20150831B
rem set AresData=E:\workspace\AresDataAutopackNEW-BASE_20150831_LS
rem set AresPath="E:\AresSOFT\ARES Studio AutoPack-BASE_20150831_LS"
rem ARES工程属性
set AresProject=%AresProject%
set AresData=%BaseAresData%
set AresPath="%BaseAresPath%"
rem Winrar控制台版程序路径(用于压缩升级包)
set WinRar="C:\Program Files (x86)\WinRAR\RAR.exe"
rem ======内部变量定义区(一般不用修改)========================
rem 升级包名称
set t=%Time%
if "%t:~0,1%" ==" " (
set t=0%t:~1%
)
rem 源码目录(对应SVN的O4目录)
set SrcDir=%Workspace%
rem set LogDir=%Workspace%\log\%date:~0,4%%date:~5,2%%date:~8,2%.%t:~0,2%%t:~3,2%
set JMdll=%Workspace%\base\Run\o4client\O4Client.exe
rem set PackName=%Date:~0,4%%Date:~5,2%%Date:~8,2%.%t:~0,2%%(BASE)_20150331_LS
rem set PackName=%date:~0,4%%date:~5,2%%date:~8,2%.%time:~0,2%
rem set PackName=%TarDir%\20140423.16(BASE)_20150331_LS
rem 设置pscp工具的路径
set puttyDir="%Workspace%\base\Run\buildscript\autopack\putty63"
rem 设置DebugTools的路径
set DebugTools="%Workspace%\Tools\DebugTools"
rem 设置加壳工具Eziriz
set Eziriz="C:\Program Files (x86)\Eziriz\.NET Reactor\dotNET_Reactor.Console.exe"
echo 创建日志目录
if not exist %LogDir% mkdir %LogDir%
echo 脚本功能:基础后台编译,需要配合Jenkins执行。
echo 脚本编写:
echo 编写时间: 2015.1.29
echo *********************************************************
rem 升级包存放路径
set TarDir=E:\AutoPack
rem 后台代码生产路径
set SourcesDir=E:\AutoData
set SourcesDirSrc=%SourcesDir%\Src-BASE_%VersionNum%_LS
rem 编译环境的地址
set CompileIp=192.168.54.226
set CompileUser=%BaseCompileUser%
set CompilePwd=trade32wu
set JCDB=hsjc/hsjc@54.226
set HISDB=hshis/hshis@54.226
set SYS=sys/trade32wu@54.226
rem 工具路径
set VisualStudio="E:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
rem ARES工程属性
rem set AresProject=UFT_20150831B
rem set AresData=E:\workspace\AresDataAutopackNEW-BASE_20150831_LS
rem set AresPath="E:\AresSOFT\ARES Studio AutoPack-BASE_20150831_LS"
rem ARES工程属性
set AresProject=%AresProject%
set AresData=%BaseAresData%
set AresPath="%BaseAresPath%"
rem Winrar控制台版程序路径(用于压缩升级包)
set WinRar="C:\Program Files (x86)\WinRAR\RAR.exe"
rem ======内部变量定义区(一般不用修改)========================
rem 升级包名称
set t=%Time%
if "%t:~0,1%" ==" " (
set t=0%t:~1%
)
rem 源码目录(对应SVN的O4目录)
set SrcDir=%Workspace%
rem set LogDir=%Workspace%\log\%date:~0,4%%date:~5,2%%date:~8,2%.%t:~0,2%%t:~3,2%
set JMdll=%Workspace%\base\Run\o4client\O4Client.exe
rem set PackName=%Date:~0,4%%Date:~5,2%%Date:~8,2%.%t:~0,2%%(BASE)_20150331_LS
rem set PackName=%date:~0,4%%date:~5,2%%date:~8,2%.%time:~0,2%
rem set PackName=%TarDir%\20140423.16(BASE)_20150331_LS
rem 设置pscp工具的路径
set puttyDir="%Workspace%\base\Run\buildscript\autopack\putty63"
rem 设置DebugTools的路径
set DebugTools="%Workspace%\Tools\DebugTools"
rem 设置加壳工具Eziriz
set Eziriz="C:\Program Files (x86)\Eziriz\.NET Reactor\dotNET_Reactor.Console.exe"
echo 创建日志目录
if not exist %LogDir% mkdir %LogDir%