/// <summary> /// Returns the names of the buildCount most recent builds for the specified project, sorted s.t. the newest build is first in the array /// </summary> public string[] GetMostRecentBuildNames(string projectName, int buildCount) { BuildListRequest request = new BuildListRequest(null, projectName); request.NumberOfBuilds = buildCount; DataListResponse resp = cruiseServer.GetMostRecentBuildNames(request); ValidateResponse(resp); return(resp.Data.ToArray()); }
public string[] GetMostRecentBuildNames(string projectName, int buildCount) { try { return(cruiseServer.GetMostRecentBuildNames(projectName, buildCount)); } catch (Exception e) { Log.Error(e); throw new CruiseControlException("Unexpected exception caught on server", e); } }
public string[] GetMostRecentBuildNames(string projectName, int buildCount) { return(_server.GetMostRecentBuildNames(projectName, buildCount)); }
/// <summary> /// Returns the names of the buildCount most recent builds for the specified project, sorted s.t. the newest build is first in the array /// </summary> public virtual DataListResponse GetMostRecentBuildNames(BuildListRequest request) { return(server.GetMostRecentBuildNames(request)); }