Example #1
0
        public static void Main(string[] args)
        {
            if (args.Length > 0 && args[0].ToLower() == "/console")
            {
                ChangesetWatcher watcher = new ChangesetWatcher();
                watcher.Start();

                Console.WriteLine("Press ENTER to stop Continuous Integrator.");
                Console.ReadLine();

                watcher.Stop();
            }
            else
            {
                ContinuousIntegratorService service = new ContinuousIntegratorService();
                ContinuousIntegratorService.Run(service);
            }
        }
Example #2
0
 protected override void OnStart(string[] args)
 {
     this.m_Watcher = new ChangesetWatcher();
     this.m_Watcher.Start();
 }