示例#1
0
        /// <summary>
        /// Deletes the specified project from the server
        /// </summary>
        public void DeleteProject(string projectName, bool purgeWorkingDirectory, bool purgeArtifactDirectory, bool purgeSourceControlEnvironment)
        {
            ChangeConfigurationRequest request = new ChangeConfigurationRequest(null, projectName);

            request.PurgeWorkingDirectory         = purgeWorkingDirectory;
            request.PurgeArtifactDirectory        = purgeArtifactDirectory;
            request.PurgeSourceControlEnvironment = purgeSourceControlEnvironment;
            Response resp = cruiseServer.DeleteProject(request);

            ValidateResponse(resp);
        }
示例#2
0
 public void DeleteProject(string projectName, bool purgeWorkingDirectory, bool purgeArtifactDirectory, bool purgeSourceControlEnvironment)
 {
     cruiseServer.DeleteProject(projectName, purgeWorkingDirectory, purgeArtifactDirectory, purgeSourceControlEnvironment);
 }
示例#3
0
 /// <summary>
 /// Deletes the specified project from the server
 /// </summary>
 public virtual Response DeleteProject(ChangeConfigurationRequest request)
 {
     return(server.DeleteProject(request));
 }