/// <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); }
public void DeleteProject(string projectName, bool purgeWorkingDirectory, bool purgeArtifactDirectory, bool purgeSourceControlEnvironment) { cruiseServer.DeleteProject(projectName, purgeWorkingDirectory, purgeArtifactDirectory, purgeSourceControlEnvironment); }
/// <summary> /// Deletes the specified project from the server /// </summary> public virtual Response DeleteProject(ChangeConfigurationRequest request) { return(server.DeleteProject(request)); }