pipeline validate

Validates a pipeline file.

Syntax

cpd-cli pipeline
validate \
--file=<upload-pipeline-file-path>\
[--project-id=<project-id>] \
[--space-id=<space-identifier>] \
[--uploadfile-content-type=<upload-file-content>]

Options

Table 1: Command options
Option Description
--file The pipeline file to be uploaded. The supported file formats are pipeline.json or compressed file (.zip) that contains pipeline.json inside, with content-type being absent, equal to application/JSON or application/compressed file.
Status
Required.
Syntax
--file=<upload-pipeline-file-path>
Default value
No default.
Input type
io.ReadCloser
--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
--uploadfile-content-type The content type of Uploadfile.
Status
Optional.
Syntax
--uploadfile-content-type=<upload-file-content>
Default value
No default.
Input type
string