v1

latestSwagger 2.0Apache 2.02026-07-17106292284.1 KB
DevOps Pipeline

Stop pipeline

post/kapis/devops.kubesphere.io/v1alpha2/namespaces/{devops}/pipelines/{pipeline}/runs/{run}/stop

Path parameters

devopsstring required

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

pipelinestring required

the name of the CI/CD pipeline

runstring required

pipeline run ID, the unique ID for a pipeline once build.

Query parameters

blockingstring blocking=%t

stop and between each retries will sleep.

timeOutInSecsstring timeOutInSecs=%d

the time of stop and between each retries sleep.

Request body

integer[] required

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.StopPipeline.artifactsZipFile","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:devops.StopPipeline.causeOfBlockage","oasType":"schema","type":"unknown"}
commitIdstring

commit id

{"stackTrail":"components:schemas:devops.StopPipeline.commitUrl","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:devops.StopPipeline.description","oasType":"schema","type":"unknown"}
durationInMillisinteger

duration time in millis

enQueueTimestring

the time of enter the queue

endTimestring

the time of end

estimatedDurationInMillisinteger

estimated duration time in millis

idstring

id

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

the name of organization

pipelinestring

pipeline

{"stackTrail":"components:schemas:devops.StopPipeline.pullRequest","oasType":"schema","type":"unknown"}
replayableboolean

replayable or not

resultstring

the result of pipeline run. e.g. SUCCESS

runSummarystring

pipeline run summary

startTimestring

the time of start

statestring

run state. e.g. RUNNING

typestring

type