Difference between revisions of "Azure Pipelines: Resources:"
Jump to navigation
Jump to search
m (Welcome moved page Resources: to Azure Pipelines: Resources:) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
* https://docs.microsoft.com/en-us/azure/devops/pipelines/process/resources?view=azure-devops&tabs=schema | * https://docs.microsoft.com/en-us/azure/devops/pipelines/process/resources?view=azure-devops&tabs=schema | ||
Line 10: | Line 9: | ||
[[webhooks:]] [ webhook ] | [[webhooks:]] [ webhook ] | ||
+ | <pre> | ||
+ | resources: # types: pipelines | builds | repositories | containers | packages | ||
+ | pipelines: | ||
+ | - pipeline: string # identifier for the resource used in pipeline resource variables | ||
+ | project: string # project for the source; optional for current project | ||
+ | source: string # name of the pipeline that produces an artifact | ||
+ | version: string # the pipeline run number to pick the artifact, defaults to latest pipeline successful across all stages; Used only for manual or scheduled triggers | ||
+ | branch: string # branch to pick the artifact, optional; defaults to all branches; Used only for manual or scheduled triggers | ||
+ | tags: [ string ] # list of tags required on the pipeline to pickup default artifacts, optional; Used only for manual or scheduled triggers | ||
+ | trigger: # triggers aren't enabled by default unless you add trigger section to the resource | ||
+ | branches: # branch conditions to filter the events, optional; Defaults to all branches. | ||
+ | include: [ string ] # branches to consider the trigger events, optional; Defaults to all branches. | ||
+ | exclude: [ string ] # branches to discard the trigger events, optional; Defaults to none. | ||
+ | tags: [ string ] # list of tags to evaluate for trigger event, optional | ||
+ | stages: [ string ] # list of stages to evaluate for trigger event, optional | ||
+ | </pre> | ||
== Related == | == Related == | ||
* <code>[[trigger:]]</code> | * <code>[[trigger:]]</code> | ||
* <code>[[repositories:]]</code> | * <code>[[repositories:]]</code> | ||
+ | * [[Terraform resources]] | ||
== See also == | == See also == |
Latest revision as of 14:24, 21 March 2022
resources: pipelines: [ pipeline ] builds: [ build ] repositories: [ repository ] containers: [ container ] packages: [ package ] webhooks: [ webhook ]
resources: # types: pipelines | builds | repositories | containers | packages pipelines: - pipeline: string # identifier for the resource used in pipeline resource variables project: string # project for the source; optional for current project source: string # name of the pipeline that produces an artifact version: string # the pipeline run number to pick the artifact, defaults to latest pipeline successful across all stages; Used only for manual or scheduled triggers branch: string # branch to pick the artifact, optional; defaults to all branches; Used only for manual or scheduled triggers tags: [ string ] # list of tags required on the pipeline to pickup default artifacts, optional; Used only for manual or scheduled triggers trigger: # triggers aren't enabled by default unless you add trigger section to the resource branches: # branch conditions to filter the events, optional; Defaults to all branches. include: [ string ] # branches to consider the trigger events, optional; Defaults to all branches. exclude: [ string ] # branches to discard the trigger events, optional; Defaults to none. tags: [ string ] # list of tags to evaluate for trigger event, optional stages: [ string ] # list of stages to evaluate for trigger event, optional
Related[edit]
See also[edit]
- 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: