Exposes agent capabilities as variables in your pipeline. Use them just like any other variable in subsequent tasks.
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.
Add a new Agent Capabilities task from the Utility category...
...and configure it as needed.
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.
Please create an issue on our Github and we will try to help you.