コード例 #1
0
        public void DownloadDeploymentFolder(BuildDetail buildDetail, string destination)
        {
            var serverPath = VersionControlPath.GetDeploymentFolderServerPath(buildDetail);

            TraceHelper.TraceInformation(TraceSwitches.TfsDeployer, "Getting files from {0} to {1}", serverPath, destination);

            var serverItemSpec = new ItemSpec(serverPath, RecursionType.Full);
            var request        = new[] { new GetRequest(serverItemSpec, VersionSpec.Latest) };

            GetLatestFromSourceCodeControl(serverPath, destination, request);
        }
コード例 #2
0
        private static string GetDeploymentMappingsFileServerPath(BuildDetail buildDetail)
        {
            var folder = VersionControlPath.GetDeploymentFolderServerPath(buildDetail);

            return(folder + "/DeploymentMappings.xml");
        }