Platform
CLI reference

ccp ci

View as Markdown

Run a CI build job in an isolated build machine and gate on its exit code

Usage: ccp ci [OPTIONS] [DIRECTORY]
ArgumentType or valuesDefaultParser environment variableDescription
--request-idtext——Reuse an ID to recover a submission after a lost reply (defaults to a fresh random ID)
directorypath.—Directory holding .cluster-ci.yaml and the git repo (default: ".")
--filepath——Spec file to submit (default: <directory>/.cluster-ci.yaml)
--org-idtext——Organization ID (skips the org selection prompt)
--git-reftext——Git ref to build (default: the current branch)
--no-waitflagfalse—Submit and print the job ID without waiting for it to finish
--jsonflagfalse—Suppress streamed logs; print a single machine-parseable JSON result
--help, -hflag——Print help

Example

ccp ci --help

Global options

Set CCP_CONTEXT to choose a named context. An explicit --context takes precedence. See organization selection for organization defaults.

ArgumentType or valuesDefaultParser environment variableDescription
--contexttext——Select a developer context from ~/.ccp/config.toml

On this page