I need to get all the running instances of a particular pipeline.
The API in the docs ,
This API allows us to get top 10K runs, but it does not seem to allow a filter where I can add a filter on the state of the pipeline, ie inProgress/running etc.
One way obviously is getting these top 10K runs and filtering them, which would be highly inefficient.
Is there a different API where I can get active runs of a pipeline or is this not possible?
Check this API: Builds - List . You can use statusFilter
here:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.