-
Notifications
You must be signed in to change notification settings - Fork 0
SCM Azure DevOps
Actions: commit_status · pr_comment (supports mode: upsert) · label (add/remove on PRs).
Personal Access Token with Code (Read & Write):
scm:
azure_devops:
- name: azure
enabled: true
base_url: https://dev.azure.com
secretRef:
name: azure-pat # Secret key: token
genre: tekton # status context genre (groups checks in the UI)Note: unlike other providers, the Azure instance uses
secretRefat the top level (noauth:block).
scm.provider = instance name; scm.repo-org + scm.repo-project + scm.repo-name; scm.commit-sha for statuses; scm.pr-number for comments/labels.
pending/running → pending, success → succeeded, failure → failed, error → error.
The status context is genre + the scm.context annotation — Azure groups statuses by genre in the PR policy panel.
PR comment bodies are optional templates: inline string, configmapRef: {name, key}, or omitted for the built-in "Build <State> for <RunName>" body. The chart ships azuredevops-comment.tmpl as an opt-in configmapRef example. See Actions → Comment templates are optional.
Getting started
Reference
SCM providers
Notifiers
Running in production
More