예제 #1
0
        public override void ExecuteCommand()
        {
            ConfigurationReader config = new ConfigurationReader();
            const string appName = @"c:\Program Files\ADMS ContinuousIntegration\NightBuild\scripts\nb.bat";
            const string commandName = " --outgoing";
            string command = "--msbuild" +
                         " --checkout-path=" + config.CheckoutPath +
                         " --release=" + config.Release + commandName +
                         " --milestone=" + config.Milestone +
                         " --software-type=" + config.SoftwareType +
                         " --hg-url=" + config.TeamUrl + " " + config.LocalBranchParameters;

            ExecuteProcess(appName, command);
        }
예제 #2
0
        public override void ExecuteCommand()
        {
            string appName = "hg.exe";
            string command = "status -u";
            ConfigurationReader config = new ConfigurationReader();
            string checkoutPath = config.CheckoutPath;
            string xmlFullPath = checkoutPath + "RepositoriesData.xml";

            ConfigurationReader configReader = new ConfigurationReader();

            foreach (var workingDir in configReader.ReadRepositoryConfig(xmlFullPath))
            {
                Console.WriteLine(checkoutPath + workingDir);
                ExecuteProcess(appName, command, checkoutPath + workingDir);
            }
        }