new_build: Trigger build

Description Usage Arguments Details Value See Also Examples

View source: R/endpoints.R

Description

Trigger a new build for a specific project branch

Usage

1
new_build(project, user, branch, ...)

Arguments

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 project is of class “circle_project”.

branch

A character string specifying the repository branch.

...

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

Details

Trigger a new Circle CI build for a specific project branch.

Value

A list of class “circle_build”.

See Also

cancel_build, retry_build

Examples

1
2
3
4
5
## Not run: 
p <- list_projects()
new_build(p[[1]])

## End(Not run)

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