Skip to content

Commit e1431e6

Browse files
[feat] update poll in job
1 parent b586405 commit e1431e6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

content/guides/azure-pipelines.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ stages:
6565
displayName: Build and Push
6666
pool:
6767
vmImage: ubuntu-latest
68+
demands:
69+
- docker
6870
steps:
6971
- checkout: self
7072
displayName: Checkout Code
@@ -179,10 +181,12 @@ jobs:
179181
- job: DockerJob
180182
displayName: Build and Push
181183
pool:
182-
vmImage: ubuntu-latest
184+
vmImage: ubuntu-latest
185+
demands:
186+
- docker
183187
```
184188

185-
This job uses the latest Ubuntu VM image provided by Microsoft-hosted agents. It can be swapped with a custom pool for self-hosted agents if needed.
189+
This job utilizes the latest Ubuntu VM image with Docker support, provided by Microsoft-hosted agents. It can be replaced with a custom pool for self-hosted agents if necessary.
186190

187191
> [!TIP]
188192
> Learn more: [Specify a pool in your pipeline](https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/pools-queues?view=azure-devops&tabs=yaml%2Cbrowser)

0 commit comments

Comments
 (0)