Create a pipeline
Creates a pipeline in an environment. Add its stages with the stage endpoints.
/project/{project_id}/environment/{environment_id}/pipelinesAuthorizationBearer token (JWT) · headerrequiredJWT token passed in the Authorization header using the Bearer <token> format.
project_iduuidrequiredThe unique identifier for the project
environment_iduuidrequiredThe unique identifier of the environment
application/jsonnamestringrequireddescriptionstringis_activebooleanPipeline created successfully
iduuidrequiredA universally unique identifier (UUID) string
organization_iduuidrequiredA universally unique identifier (UUID) string
project_iduuidrequiredA universally unique identifier (UUID) string
environment_iduuidrequiredA universally unique identifier (UUID) string
namestringrequireddescriptionstringis_activebooleanrequiredlast_run_iduuid | nullShow propertiesHide properties
string<uuid>nulllast_run_statuscomponent_deployment_staterequiredDeployment state for a component resource.
QUEUEDSCHEDULEDRUNNINGRETRYINGSUCCEEDEDFAILEDCANCELEDTIMED_OUTSKIPPEDNONEstagespipeline_stage[]requiredShow propertiesHide properties
pipeline_stageiduuidrequiredA universally unique identifier (UUID) string
pipeline_iduuidrequiredA universally unique identifier (UUID) string
namestringrequireddescriptionstringexecution_orderintegerrequiredon_failurepipeline_stage_failure_policyrequiredDescribes how the pipeline should behave after a stage failure.
STOP_PIPELINECONTINUE_PIPELINEcomponentspipeline_stage_component[]requiredShow propertiesHide properties
pipeline_stage_componentiduuidrequiredA universally unique identifier (UUID) string
stage_iduuidrequiredA universally unique identifier (UUID) string
component_iduuidrequiredA universally unique identifier (UUID) string
component_kindcomponent_kindrequiredComponent kind for component-scoped variables
KjobKApplicationKHelmKDatabaseis_requiredbooleanrequiredtimeout_secondsinteger | nullcreated_atstring<date-time>requiredcreated_atstring<date-time>requiredupdated_atstring<date-time>requiredcreated_atstring<date-time>requiredupdated_atstring<date-time>requireddeleted_atstring<date-time> | nullError
codeinteger<int32>requiredmessagestringrequiredreasonstringOptional stable machine-readable reason for programmatic error handling