Jenkins_ArchiveBuildFilesForTeam

::::Performance Team::
@ECHO OFF

SET @Team=GPP
SET @7ZEXE="C:\Program Files\7-Zip\7z.exe"

FOR %%P IN (Parser Downloader FileCenter Importer TrackingMerger AsyncTaskExecuter OrphanDataTransfer BatchDataTransfer ReValidater SuggestGenerator) DO (
   CD "%MainWorkspace%\Processes\Performance\%%P\bin\Release"
   %@7ZEXE% A "%DeployPackages%\%@Team%\%%P\%%P-%VersionNumber%.%MainBuildNumber%.zip" -X!"*.pdb"
   COPY "%DeployPackages%\%@Team%\%%P\%%P-%VersionNumber%.%MainBuildNumber%.zip" "%DeployPackages%\%@Team%\%%P\%%P-%VersionNumber%.Latest.zip"
)

FOR %%P IN (SoapDataManager.Core  SoapDataManager.Performance) DO (
   CD "%MainWorkspace%\App\SoapDataManager\%%P\bin"
   %@7ZEXE% A "%DeployPackages%\%@Team%\%%P\%%P-%VersionNumber%.%MainBuildNumber%.zip" -X!"*.pdb"
   COPY "%DeployPackages%\%@Team%\%%P\%%P-%VersionNumber%.%MainBuildNumber%.zip" "%DeployPackages%\%@Team%\%%P\%%P-%VersionNumber%.Latest.zip"
)

:Usage
ECHO Usage:
ECHO Example:

 

posted @ 2012-08-06 10:07  Alex Tian  阅读(295)  评论(0编辑  收藏  举报