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

flcdrg/vsts-task-agent-capabilities

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published