pipeline version list

Lists all pipeline versions of a pipeline. You must specify either project_id or space_id.

Syntax

cpd-cli pipeline version
list \
--pipeline-id=<pipeline-identifier> \
[--page-size=<placeholder-text>] \
[--page-token=<placeholder-text>] \
[--project-id=<project-id>] \
[--sort-by=<placeholder-text>] \
[--space-id=<space-identifier>]

Options

Table 1: Command options
Option Description
--page-size The number of pipelines to be listed per page. If you have more pipelines than this number, the response message contains a valid value in the nextPageToken field.
Status
Optional.
Syntax
--page-size=<placeholder-text>
Default value
No default.
Input type
int64
--page-token A page token to request the next page of results. The token is acquired from the nextPageToken field of the response from the previous ListPipelines call.
Status
Optional.
Syntax
--page-token=<placeholder-text>
Default value
No default.
Input type
string
--pipeline-id Specify a pipeline identifier.
Status
Required.
Syntax
--pipeline-id=<pipeline-identifier>
Default value
No default.
Input type
string
--project-id Specify an IBM Software Hub project instance.
Status
Optional.
Syntax
--project-id=<project-id>
Default value
No default.
Input type
string
Valid values
A valid project identifier.
--sort-by Accepted formats are field_name or field_name sort_order. Accepted field names are ID, name, or created_at. Accepted sort orders are asc (ascending) or desc (descending). The default sort order is ascending.
Status
Optional.
Syntax
--sort-by=<placeholder-text>
Default value
No default.
Input type
string
--space-id Specify a space identifier.
Status
Optional.
Syntax
--space-id=<space-identifier>
Default value
No default.
Input type
string