Synopsis
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.