pool:

From wikieduonline
Jump to navigation Jump to search

https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/pools-queues?view=azure-devops&tabs=yaml%2Cbrowser

Default provided pools: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#use-a-microsoft-hosted-agent

pool:
  vmImage: ubuntu-latest
pool:
  vmImage: 'macOS-latest'
pool:
  vmImage: 'windows-latest'


pool: my-private-pool
pool: [ server | pool ]
pool:
  name: my-private-pool


Default Azure Pipeline:

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- your_branch_name

pool:
  vmImage: ubuntu-latest

steps:
- script: echo Hello, world!
  displayName: 'Run a one-line script'

- script: |
    echo Add other tasks to build, test, and deploy your project.
    echo See https://aka.ms/yaml
  displayName: 'Run a multi-line script'

Related

See also

Advertising: