Skip to main content

Azure Devops

Azure Devops checks for healthy pipeline runs.

apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: azure-devops
spec:
interval: 300
azureDevops:
- project: Demo1
pipeline: ^windows-
personalAccessToken: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
organization: flanksource
variable:
env: prod
branch:
- main
thresholdMillis: 60000 # 60 seconds
FieldDescriptionSchemeRequired
organizationName of the Azure Organization.stringtrue
projectThe name or ID of the project.stringtrue
pipelineName/Regexp to select the interested pipeline.stringtrue
variablesOnly match those runs that match these variablesmap[string]string
branchOnly match those runs that are run on these branch.[]string
thresholdMillisMaximum duration of a run after which it's considered unhealthy.int
*All other commons fieldCommon
Connection
connectionConnection Name e.g. connection://azuredevops/org Mutually exclusive with personalAccessTokenstring
personalAccessTokenMutually exclusive with connection, See Creating ADO PAT'sEnvVartrue