Forrest logo
back to context overview

az-repos

List of commands for az-repos:

  • az-repos:tldr:0afee az-repos: Add build validation on a specific repository, using an existing build pipeline, to be triggered automatically on source update.
    $ az repos policy build create --repository-id ${repository_id} --build-definition-id ${build_pipeline_id} --branch main --blocking --enabled --queue-on-source-update-only true --display-name ${name} --valid-duration ${minutes}
    try on your machine
    explain this command
  • az-repos:tldr:3cee0 az-repos: List all repos in a specific project.
    $ az repos list --project ${project_name}
    try on your machine
    explain this command
  • az-repos:tldr:af343 az-repos: Add policy on a specific branch of a specific repository to restrict basic merge.
    $ az repos policy merge-strategy create --repository-id ${repository_id_in_repos_list} --branch ${branch_name} --blocking --enabled --allow-no-fast-forward false --allow-rebase true --allow-rebase-merge true --allow-squash true
    try on your machine
    explain this command
  • az-repos:tldr:c4fa2 az-repos: List all active Pull Requests on a specific repository within a specific project.
    $ az repos pr list --project ${project_name} --repository ${repository_name} --status active
    try on your machine
    explain this command
back to context overview