Dashboard > Pulse v2.4 > ... > Remote API Functions > RemoteApi.killBuild
  Pulse v2.4 Log In | Sign Up   View a printable version of the current page.  
  RemoteApi.killBuild
Added by Jason Sankey, last edited by Jason Sankey on Nov 04, 2011
Labels: 
(None)

Pulse Manual Index

Synopsis

boolean killBuild(string token, string projectName, int id)

Parameters

Parameter Type Description
token string Authentication token, see RemoteApi.login.
projectName string The name of the project that is building.
id int The ID of the build to kill.

Returns

boolean: True if kill was requested, false if the build was not found or was not in progress.

Faults

Fault Type Fault Reason
IllegalArgumentException If the given project name is invalid.

Description

Request that the given active build is killed as quickly as possible. Killing does not allow for any graceful cleanup. This function returns when the request is made, which is likely to be before the build is killed.

Access

Requires administration permission for the server.

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