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

Pulse Manual Index

Synopsis

array<RemoteApi.BuildResult> getLatestBuildWithWarnings(string token, string projectName, string buildSpecification)

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.
maxResults int The maximum number of build results to return.

Returns

An array containing the latest build of the given project that meets the criteria provided and has at least one warning feature recorded. If no build meets the criteria, the array will be empty.

Description

A convenience function equivalent to:

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

See also RemoteApi.getLatestBuildsWithWarnings.

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