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: