private static DevOpsBuildContext PlatformBuildContext(string platform)
        {
            var prefix             = Constants.PlatformConfigToPrefix[platform];
            var platformParameters = EnvironmentHelper.GetPrefixVariables(prefix);
            var parameters         = EnvironmentHelper.GetPrefixVariables(Constants.EnvVars.PlatformCommonPrefix);

            platformParameters.ToList().ForEach(x => parameters[x.Key] = x.Value);
            var buildContext = new DevOpsBuildContext
            {
                BuildTaskName = $"Setup for {platform}",
                Agent         = platform,
                BuildType     = BuildType.SiteSetup,
                Organization  = EnvironmentHelper.GetOrganization(),
                Project       = EnvironmentHelper.GetProject(),
                DefinitionId  = EnvironmentHelper.GetDefinitionId(prefix),
                Parameters    = parameters
            };

            return(buildContext);
        }
        private static DevOpsBuildContext WorkerSiteBuildContext(string worker)
        {
            var prefix           = $"{Constants.WorkerConfigToPrefix[worker]}{Constants.EnvVars.WorkerSiteTypeVar}";
            var workerParameters = EnvironmentHelper.GetPrefixVariables(prefix);
            var parameters       = EnvironmentHelper.GetPrefixVariables(Constants.EnvVars.WorkerCommonPrefix);

            workerParameters.ToList().ForEach(x => parameters[x.Key] = x.Value);

            var buildContext = new DevOpsBuildContext
            {
                BuildTaskName = $"Running Site build for {worker}",
                Agent         = worker,
                BuildType     = BuildType.WorkerSite,
                Organization  = EnvironmentHelper.GetOrganization(),
                Project       = EnvironmentHelper.GetProject(worker),
                DefinitionId  = EnvironmentHelper.GetDefinitionId(prefix),
                Parameters    = parameters
            };

            return(buildContext);
        }