Difference between revisions of "Repositories:"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
resources: | resources: | ||
repositories: | repositories: | ||
− | - repository: string | + | - repository: string # identifier (A-Z, a-z, 0-9, and underscore) |
− | type: enum | + | type: enum # see the following "Type" topic |
− | name: string | + | name: string # repository name (format depends on `type`) |
− | [[ref:]] string | + | [[ref:]] string # ref name to use; defaults to 'refs/heads/main' |
− | endpoint: string | + | endpoint: string # name of the service connection to use (for types that aren't Azure Repos) |
− | trigger: | + | trigger: # CI trigger for this repository, no CI trigger if skipped (only works for Azure Repos) |
branches: | branches: | ||
include: [ string ] # branch names which trigger a build | include: [ string ] # branch names which trigger a build |
Revision as of 13:06, 3 March 2022
resources: repositories: - repository: string # identifier (A-Z, a-z, 0-9, and underscore) type: enum # see the following "Type" topic name: string # repository name (format depends on `type`) ref: string # ref name to use; defaults to 'refs/heads/main' endpoint: string # name of the service connection to use (for types that aren't Azure Repos) trigger: # CI trigger for this repository, no CI trigger if skipped (only works for Azure Repos) branches: include: [ string ] # branch names which trigger a build exclude: [ string ] # branch names which won't tags: include: [ string ] # tag names which trigger a build exclude: [ string ] # tag names which won't paths: include: [ string ] # file paths which must match to trigger a build exclude: [ string ] # file paths which won't trigger a build
Related
See also
- Azure Pipelines:
az pipelines
,trigger:, stages:
,variables:, parameters:,
inputs:
,group:
,template:
,jobs:
,job:
,steps:
,dependsOn:
,task:
,condition:
,resources:
,pool:
,stage:
,extends:
,deployment:, scriptType:, inlineScript:, repositories:, pr:, repository:, type:
, Default Azure Pipeline, Azure Pipeline Library, Azure Pipeline Job full syntax
Advertising: