Difference between revisions of "Azure pipelines: Jobs:"
Jump to navigation
Jump to search
(3 intermediate revisions by one other user not shown) | |||
Line 9: | Line 9: | ||
− | == Azure Pipeline Job full syntax == | + | == [[Azure Pipeline Job full syntax]] == |
− | + | {{azure pipeline job}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related == | == Related == | ||
Line 45: | Line 21: | ||
* <code>[[pool:]]</code> | * <code>[[pool:]]</code> | ||
* [[GitHub Actions]] | * [[GitHub Actions]] | ||
+ | * [[GitLab CI]] | ||
== See also == | == See also == | ||
Line 50: | Line 27: | ||
[[Category:CI]] | [[Category:CI]] | ||
− | [[Category: | + | [[Category:Azure]] |
Latest revision as of 11:53, 6 October 2022
Azure Pipeline Job full syntax[edit]
- job: string # name of the job, A-Z, a-z, 0-9, and underscore displayName: string # friendly name to display in the UI dependsOn: string | [ string ] condition: [ always() | failed () | .../... ] # [1] strategy: parallel: # parallel strategy matrix: # matrix strategy maxParallel: number # maximum number simultaneous matrix legs to run # note: `parallel` and `matrix` are mutually exclusive # you may specify one or the other; including both is an error # `maxParallel` is only valid with `matrix` continueOnError: boolean # 'true' if future jobs should run even if this job fails; defaults to 'false' pool: pool # agent pool workspace: clean: outputs | resources | all # what to clean up before the job runs container: containerReference # container to run this job inside timeoutInMinutes: number # how long to run the job before automatically cancelling cancelTimeoutInMinutes: number # how much time to give before killing task variables: { string: string } | [ variable | variableReference ] steps: [ script | bash | pwsh | powershell | checkout | task | templateReference ] services: { string: string | container } # container resources to run as a service container uses: # Any resources (repos or pools) required by this job that are not already referenced repositories: [ string ] # Repository references to Azure Git repositories pools: [ string ] # Pool names, typically when using a matrix strategy for the job
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
↑ https://docs.microsoft.com/en-us/azure/devops/pipelines/process/conditions
Advertising: