
Azure DevOps Pipelines Cancel
CertifiedCancel an Azure DevOps pipeline run
Azure DevOps Pipelines Cancel
Cancel an Azure DevOps pipeline run
Sends a cancellation request for an active, in-progress Azure DevOps pipeline run.
type: io.kestra.plugin.azure.devops.pipelines.CancelExamples
Cancel an in-progress Azure DevOps pipeline run
id: azure_devops_cancel_run
namespace: company.team
tasks:
- id: cancel_run
type: io.kestra.plugin.azure.devops.pipelines.Cancel
organization: my-org
project: my-project
runId: 101
personalAccessToken: "{{ secret('AZURE_DEVOPS_PAT') }}"
Properties
organization *string
Azure DevOps organization
The name of the Azure DevOps organization or Azure DevOps Server collection.
project *string
Azure DevOps project
The name or ID of the Azure DevOps project containing the pipeline.
runId *integerstring
Run ID
The unique identifier of the pipeline run (or build) to cancel.
assets
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.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset 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.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150baseUrl string
https://dev.azure.comBase 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.
clientId string
Azure client ID
Client ID of the Azure service principal.
clientSecret string
Azure client secret
Client secret of the Azure service principal.
pemCertificate string
PEM certificate
PEM certificate content for certificate-based authentication.
personalAccessToken string
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.
tenantId string
Azure tenant ID
Azure Entra tenant ID used for service principal authentication.