Beispiel #1
0
        public Register()
        {
            BuildServersRegister = new Dictionary<string, BuildServers.IBuildServer>();

            SourceControl.BuildServers.TeamCityBS tc = new BuildServers.TeamCityBS();
            BuildServersRegister.Add(tc.Name, tc);

            if (TaskUniversum.Common.Runtime.IsRunningOnMono())
            {
                SourceControl.BuildServers.NaiveXBuildfromGit monogit = new BuildServers.NaiveXBuildfromGit();
                BuildServersRegister.Add(monogit.Name, monogit);
            }
            else
            {
                SourceControl.BuildServers.NaiveMSfromGit netgit = new BuildServers.NaiveMSfromGit();
                BuildServersRegister.Add(netgit.Name, netgit);
            }
        }
Beispiel #2
0
        public Register()
        {
            BuildServersRegister = new Dictionary <string, BuildServers.IBuildServer>();

            SourceControl.BuildServers.TeamCityBS tc = new BuildServers.TeamCityBS();
            BuildServersRegister.Add(tc.Name, tc);

            if (TaskUniversum.Common.Runtime.IsRunningOnMono())
            {
                SourceControl.BuildServers.NaiveXBuildfromGit monogit = new BuildServers.NaiveXBuildfromGit();
                BuildServersRegister.Add(monogit.Name, monogit);
            }
            else
            {
                SourceControl.BuildServers.NaiveMSfromGit netgit = new BuildServers.NaiveMSfromGit();
                BuildServersRegister.Add(netgit.Name, netgit);
            }
        }