Get Build


Get a specific build or an array of builds.

Passing [id] argument will cause a retrieval of a specific build.
In case of not passing [id] argument, a list will be returned.


codefresh get builds [id..]


codefresh get build [id..]


Option Alias Default Description
id Build id


Option Alias Default Description
–help Print help information
–limit 25 Limit amount of returned results
–page 1 Paginated page
–status Filter results by statuses

Possible values:
- pending
- elected
- error
- running
- success
- terminated
–trigger Filter results by triggers

Possible values:
- build
- launch
–pipeline-id Filter results by pipeline id
–pipeline-name Filter results by pipeline name

Output Options

Option Alias Default Description
–output - o Output format

Possible values:
- json
- yaml
- wide
- name
- id
–watch - w Watching updates to a particular resource
–watch-interval 3 Interval time at watching mode (in seconds)


Get build ID

codefresh get build ID

Get all builds

codefresh get builds

Get all builds that are executions of pipeline “ID”

codefresh get builds --pipeline-id ID

Get all builds that are executions of pipelines that are named “NAME”

codefresh get builds --pipeline-name NAME

Get all builds that their status is error

codefresh get builds --status=error