Dashboard > Pulse v1.2 > ... > Remote API Functions > RemoteApi.getLatestBuildForProject
  Pulse v1.2 Log In | Sign Up   View a printable version of the current page.  
  RemoteApi.getLatestBuildForProject
Added by Jason Sankey, last edited by Jason Sankey on Sep 26, 2008  (view change)
Labels: 
(None)

Pulse Manual Index

Synopsis

array<RemoteApi.BuildResult> getLatestBuildForProject(string token, string projectName, string buildSpecification, boolean completedOnly)

Parameters

Parameter Type Description
token string Credentials, see RemoteApi.login
projectName string The name of the project to retrieve the results for.
buildSpecification string If non-empty, only return build results for the given build specification.
completedOnly boolean If true, only return builds that have completed.

Returns

An array containing the latest build of the given project that meets the criteria provided. If no build meets the criteria, the array will be empty.

Description

A convenience function equivalent to:

getLatestBuildsForProject(token, projectName, buildSpecification, completedOnly, 1)

See also RemoteApi.getLatestBuildsForProject.

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