Hi what are the pipeline states and whatβs the rough transition order? The documentation in CircleCI API just lists them:
state required string
Enum: "created" "errored" "setup-pending" "setup" "pending"
The current state of the pipeline.
Hi what are the pipeline states and whatβs the rough transition order? The documentation in CircleCI API just lists them:
state required string
Enum: "created" "errored" "setup-pending" "setup" "pending"
The current state of the pipeline.
Hi @madisp,
The pipeline states are those which you have mentioned, but here is the general flow for the transitions:
Regular Pipelines
a. created β pending β (no error) β created
b. created β pending β (error) β errored
Pipelines with Setup Workflows
a. created β setup-pending β setup β (no error) β (continuation request) β pending β (no error) β created
b. created β setup-pending β setup β (error) β errored
c. created β setup-pending β setup β (no error) β (continuation request) β pending β (error) β errored
There might be one or two cases missing from the above depending on where an error occurs.
In the setup workflow flow, continuation request is referring to a step that happens when creating a dynamic workflow. Documentation of the API for this can be found here as well:
https://circleci.com/docs/api/v2/#operation/continuePipeline
Let me know if you have any additional questions!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.