1
answer
12
watching
1,802
views
mmyint1234Lv1
14 Mar 2022
Question 253 of 253
You have a project in Azure DevOps named Project1. Project1 contains five self-hosted agents. Each self-hosted agent appears with a different list of capabilities in the Azure DevOps portal.
You plan to create a YAML build pipeline named Pipeline1 in Project1.
You need to ensure that Pipeline1 will run only on the self-hosted agents that include the npm capability.
What should you do?
Select only one answer.
A. In Pipeline1, include the demands YAML schema element.
B. In Pipeline1, include the depends on YAML schema element.
C. In Project1, configure an execution plan of the agent job.
D. In Project1, configure a new service connection.
Question 253 of 253
You have a project in Azure DevOps named Project1. Project1 contains five self-hosted agents. Each self-hosted agent appears with a different list of capabilities in the Azure DevOps portal.
You plan to create a YAML build pipeline named Pipeline1 in Project1.
You need to ensure that Pipeline1 will run only on the self-hosted agents that include the npm capability.
What should you do?
Select only one answer.
A. In Pipeline1, include the demands YAML schema element.
B. In Pipeline1, include the depends on YAML schema element.
C. In Project1, configure an execution plan of the agent job.
D. In Project1, configure a new service connection.
Liked by mmyint1234 and 4 others
swayamsahuLv4
14 Mar 2022