v1

latestSwagger 2.0Apache 2.02026-07-17106292284.1 KB
DevOps Pipeline

(MultiBranchesPipeline) Run the specified pipeline of the DevOps project.

post/kapis/devops.kubesphere.io/v1alpha2/namespaces/{devops}/pipelines/{pipeline}/branches/{branch}/runs

Path parameters

devopsstring required

DevOps project's ID, e.g. project-RRRRAzLBlLEm

pipelinestring required

the name of the CI/CD pipeline

branchstring required

the name of branch, same as repository branch.

Request body

Response

ok

_classstring

It’s a fully qualified name and is an identifier of the producer of this resource's capability.

{"stackTrail":"components:schemas:devops.RunPipeline.artifactsZipFile","oasType":"schema","type":"unknown"}
causeOfBlockagestring

the cause of blockage

{"stackTrail":"components:schemas:devops.RunPipeline.description","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:devops.RunPipeline.durationInMillis","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:devops.RunPipeline.enQueueTime","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:devops.RunPipeline.endTime","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:devops.RunPipeline.estimatedDurationInMillis","oasType":"schema","type":"unknown"}
idstring

id

{"stackTrail":"components:schemas:devops.RunPipeline.name","oasType":"schema","type":"unknown"}
organizationstring

the name of organization

pipelinestring

pipeline

queueIdstring

queue id

replayableboolean

replayable or not

resultstring

the result of pipeline run. e.g. SUCCESS

{"stackTrail":"components:schemas:devops.RunPipeline.runSummary","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:devops.RunPipeline.startTime","oasType":"schema","type":"unknown"}
statestring

run state. e.g. RUNNING

typestring

type