retry_build: Retry build

Description Usage Arguments Details Value See Also Examples

View source: R/endpoints.R

Description

Retry a Circle CI build.

Usage

1
retry_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

Retry a Circle CI build.

Value

A list of class “circle_build”.

See Also

cancel_build, new_build

Examples

1
2
3
4
## Not run: 
retry_build(list_builds(limit = 1)[[1]])

## End(Not run)

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