Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 1.23 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.23 KB

Agent Capabilities

Exposes agent capabilities as variables in your pipeline. Use them just like any other variable in subsequent tasks.

Example from hosted agent

These are the capabilites of a hosted agent exposed as variables. In this example, to use AndroidSDK path use the variable $(AgentCapabilities.AndroidSKD) anywhere in your pipeline.

Variable samples

Usage

Add a new Agent Capabilities task from the Utility category...

Task

...and configure it as needed.

Parameters

Parameters include:

  • Personal access token: For security, we recommend creating a secret variable for your personal access token, eg. $(AgentCapabilitiesAccessToken) and referense it here. Required scopes are "Agent Pools (read)" and "Build (read)". Learn how to create a personal access token.

Personal access token

Having Problems?

Please create an issue on our Github and we will try to help you.