Skip to content

List Builds For Project

codebuild_list_builds_for_project R Documentation

Gets a list of build identifiers for the specified build project, with each build identifier representing a single build

Description

Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.

Usage

codebuild_list_builds_for_project(projectName, sortOrder, nextToken)

Arguments

projectName

[required] The name of the CodeBuild project.

sortOrder

The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.

Valid values include:

  • ASCENDING: List the build identifiers in ascending order, by build number.

  • DESCENDING: List the build identifiers in descending order, by build number.

If the project has more than 100 builds, setting the sort order will result in an error.

nextToken

During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

Value

A list with the following syntax:

list(
  ids = list(
    "string"
  ),
  nextToken = "string"
)

Request syntax

svc$list_builds_for_project(
  projectName = "string",
  sortOrder = "ASCENDING"|"DESCENDING",
  nextToken = "string"
)