Azure DevOps Pipelines ListRuns

Azure DevOps Pipelines ListRuns

Certified

List Azure DevOps pipeline runs

Queries recent pipeline runs or builds for an Azure DevOps pipeline. Supports server-side filtering by state, result, and top N limit.

yaml
type: io.kestra.plugin.azure.devops.pipelines.ListRuns

List recent completed runs for an Azure DevOps pipeline

yaml
id: list_pipeline_runs
namespace: company.team

tasks:
  - id: list_runs
    type: io.kestra.plugin.azure.devops.pipelines.ListRuns
    organization: my-org
    project: my-project
    pipelineId: 42
    personalAccessToken: "{{ secret('AZURE_DEVOPS_PAT') }}"
    state: completed
    maxRuns: 20
Properties

Azure DevOps organization

The name of the Azure DevOps organization or Azure DevOps Server collection.

Pipeline ID

The unique identifier of the pipeline whose runs to retrieve.

Azure DevOps project

The name or ID of the Azure DevOps project containing the pipeline.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
Defaulthttps://dev.azure.com

Base URL

Base URL of the Azure DevOps instance. Defaults to https://dev.azure.com. Configure this property when connecting to an on-premises Azure DevOps Server.

Azure client ID

Client ID of the Azure service principal.

Azure client secret

Client secret of the Azure service principal.

Default50

Maximum runs to return

Maximum number of runs to return in outputs (between 1 and 1000). Defaults to 50.

PEM certificate

PEM certificate content for certificate-based authentication.

Personal Access Token

Azure DevOps Personal Access Token (PAT) with Build: Read & execute scope. If omitted, Microsoft Entra ID service principal credentials must be configured.

Run result filter

Filter runs by result outcome (e.g. succeeded, failed, canceled).

Run state filter

Filter runs by state (e.g. completed, inProgress, notStarted, cancelling).

Azure tenant ID

Azure Entra tenant ID used for service principal authentication.

Pipeline runs

The retrieved pipeline runs.

Definitions
createdDatestring
Formatdate-time

Creation timestamp

Timestamp when the pipeline run was created.

finishedDatestring
Formatdate-time

Finish timestamp

Timestamp when the pipeline run finished executing.

idinteger

Run ID

The unique identifier of the pipeline run.

namestring

Run name

The name or build number of the pipeline run.

resultstring

Run result

Final outcome of the pipeline run (e.g. succeeded, failed, canceled).

statestring

Run state

Current state of the pipeline run (e.g. inProgress, completed, canceling, notStarted).

urlstring

API URL

REST API URL of the pipeline run resource.

webUrlstring

Web URL

Azure DevOps browser URL to view the pipeline run execution.

Total runs

The total number of runs returned.