public class GitLabAPIBuildVariables extends Object
http://doc.gitlab.com/ce/api/repositories.html
| Constructor and Description |
|---|
GitLabAPIBuildVariables(GitLabAPI gitLabAPI) |
| Modifier and Type | Method and Description |
|---|---|
GitLabVariable |
getProjectVariable(Serializable projectId,
String key)
Show variable details
|
Paged<GitLabVariable> |
getProjectVariables(Serializable projectId,
Pagination pagination)
List project variables
|
public GitLabAPIBuildVariables(GitLabAPI gitLabAPI)
public Paged<GitLabVariable> getProjectVariables(Serializable projectId, Pagination pagination) throws IOException
Get list of a project's build variables.
GET /projects/:id/variables
projectId - (required) - The ID of a projectIOExceptionpublic GitLabVariable getProjectVariable(Serializable projectId, String key) throws IOException
Get the details of a project's specific build variable.
GET /projects/:id/variables/:key
projectId - (required) - The ID of a projectkey - (required) - The commit or branch nameIOExceptionCopyright © 2018 Talanlabs. All rights reserved.