windows-nt/Source/XPSP1/NT/admin/admt/buildtools/raptorschedulebuild.cmd

26 lines
505 B
Batchfile
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
@echo off
setlocal enableextensions
if '%1' EQU '' goto Usage
if '%2' EQU '' goto Usage
set BUILDNUM=%1
set BUILDTIME=%2
shift
shift
:Loop
if '%1' NEQ '' set BUILDTIME=%BUILDTIME% %1
shift
if '%1' NEQ '' goto Loop
echo Scheduling Build %BUILDNUM% for %BUILDTIME%
at %BUILDTIME% E:\BuildTools\McsBuildServer\McsBuildClient.exe DEVRDTBOX E:\BuildTools\RaptorStartBuild.cmd %BUILDNUM%
goto End
:Usage
echo Usage: "RaptorScheduleBuild.cmd <Build Number> <Time> [/NEXT:Date | /EVERY:Date]"
:End
endlocal