get_build: Get build

Description Usage Arguments Details Value See Also Examples

View source: R/endpoints.R

Description

Retrieve a specific build.

Usage

1
get_build(build, project, user, ...)

Arguments

build

A character string specifying the project name, or an object of class “circle_build”. If the latter, there is no need to specify project or user.

project

A character string specifying the project name, or an object of class “circle_project”. If the latter, there is no need to specify user.

user

A character string specifying the user name. This is not required if build is of class “circle_build” and/or if project is of class “circle_project” .

...

Additional arguments passed to an HTTP request function, such as GET, via circleHTTP.

Details

Retrieves details of a specific build.

Value

A list of class “circle_build”.

See Also

list_builds

Examples

1
2
3
4
5
6
7
8
## Not run: 
# get build from a build object
get_build(list_builds(limit = 1)[[1]])

# get build by number, project, and user
get_build("buildnumber", "circleci", "cloudyr")

## End(Not run)

cloudyr/circleci documentation built on May 13, 2019, 8:20 p.m.