Dashboard > Pulse v1.2 > ... > Remote API Functions > RemoteApi.queryBuildsForProject
  Pulse v1.2 Log In | Sign Up   View a printable version of the current page.  
  RemoteApi.queryBuildsForProject
Added by Jason Sankey, last edited by Jason Sankey on Jul 25, 2007
Labels: 
(None)

Pulse Manual Index

Synopsis

array<RemoteApi.BuildResult> queryBuildsForProject(string token, string projectName, array<string> resultStates, array<string> buildSpecifications, int firstResult, int maxResults, boolean mostRecentFirst)

Parameters

Parameter Type Description
token string Credentials, see RemoteApi.login
projectName string The name of the project to retrieve the results for.
resultStates array<string> If not empty, only return results with the given statuses. Valid states are listed on the RemoteApi.BuildResult page.
buildSpecifications array<string> If not empty, only return build results for the given build specifications.
firstResult int One-based index of the first result to return, allows paging through results.
maxResults int The maximum number of build results to return.
mostRecentFirst boolean If true, results are sorted from most to least recent before applying paging and returning the array. Otherwise, results are sorted from least to most recent.

Returns

An array of RemoteApi.BuildResult structures, the builds that meet the criteria provided.

Description

Queries the build results for the given project, restricting the results returned based on the given parameters. Paging is supported using the firstResult and maxResults parameters, and the sort order is controlled by mostRecentFirst.

Access

Accessible to all users.

Zutubi wiki is Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators