Esempio n. 1
0
        /// <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());
        }
Esempio n. 2
0
 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));
 }
Esempio n. 4
0
 /// <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));
 }