pipeline copy

Creates a pipeline from an existing pipeline. You must specify either project_id or space_id.

Syntax

cpd-cli pipeline
copy \
--name=<pipeline-name> \
--pipeline-id=<pipeline-identifier>\
[--description=<pipeline-description> \
[--project-id=<project-id>] \
[--space-id=<space-identifier>]

Options

Table 1: Command options
Option Description
--description The description of the new pipeline.
Status
Optional.
Syntax
--description=<pipeline-description>
Default value
No default.
--name The name of the new pipeline.
Status
Required.
Syntax
--name=<pipeline-name>
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.
--space-id Specify a space identifier.
Status
Optional.
Syntax
--space-id=<space-identifier>
Default value
No default.
Input type
string