add_env: Add Environment Variable(s)

Description Usage Arguments Details Value See Also Examples

View source: R/endpoints.R

Description

Add Circle CI environment variable(s) for a specific project.

Usage

1
add_env(project, user, var, ...)

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”.

var

A named list containing key-value pairs of environment variable and value.

...

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

Details

Add one or more Circle CI environment variable for a specific project.

Value

Something...

See Also

delete_env

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# add environment variables
add_env(list_projects()[[1]], var = list(A = "123", B = "abc"))

# remove environment variables, one at a time
delete_env(list_projects()[[1]], var = "A")
delete_env(list_projects()[[1]], var = "B")

## End(Not run)

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