Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
703 B

  1. @echo off
  2. setlocal enableextensions
  3. set SSCMD="F:\Program Files\Microsoft Visual Studio\Common\Vss\Win32\ss"
  4. set BUILDNUM=%1
  5. if '%BUILDNUM%' == '' goto Usage
  6. set DESTDIR=\\Mcsvss\Beta\EDA\Raptor\Build%BUILDNUM%
  7. if exist c:\temp\ssreport.txt del /f c:\temp\ssreport.txt
  8. set /A PREVBUILD=%BUILDNUM% - 1
  9. %SSCMD% History "$/Dev/Raptor" -R "-VLRaptor (Build %BUILDNUM%)~LRaptor (Build %PREVBUILD%)" -O@c:\temp\ssreport.txt
  10. if exist c:\temp\BuildLog.txt del /f c:\temp\BuildLog.txt
  11. ssreport.pl "c:\temp\ssreport.txt c:\temp\ea_pr.txt c:\temp\BuildLog.txt"
  12. if exist c:\temp\BuildLog.txt copy c:\temp\BuildLog.txt %DESTDIR%
  13. goto End
  14. :Usage
  15. echo Usage: RaptorCreateBuildLog.cmd BuildNumber
  16. :End
  17. endlocal