public string GetDeployer(DeployStatusInfo deployStatusInfo)
        {
            string deployerName;

            if (TryGetFromOctopus(deployStatusInfo.Environment, out deployerName) ||
                TryGetFromTeamCity(deployStatusInfo.BuildInfo, out deployerName) ||
                TryGetFromTrello(deployStatusInfo.BranchRelatedTrellos, out deployerName) ||
                TryGetFromTrello(deployStatusInfo.EnvironmentTaggedTrellos, out deployerName))
            {
                return(deployerName);
            }

            return(deployStatusInfo.Environment.DisplayName);
        }
Exemplo n.º 2
0
 public string GetDeployer(DeployStatusInfo deployStatusInfo)
 {
     return(deployStatusInfo.Environment.DisplayName);
 }